|
@ -212,7 +212,12 @@ |
|
|
</q-card-section> |
|
|
</q-card-section> |
|
|
</q-card> |
|
|
</q-card> |
|
|
</q-expansion-item> |
|
|
</q-expansion-item> |
|
|
<q-expansion-item group="api" dense expand-separator label="POST activate extension"> |
|
|
<q-expansion-item |
|
|
|
|
|
group="api" |
|
|
|
|
|
dense |
|
|
|
|
|
expand-separator |
|
|
|
|
|
label="POST activate extension" |
|
|
|
|
|
> |
|
|
<q-card> |
|
|
<q-card> |
|
|
<q-card-section> |
|
|
<q-card-section> |
|
|
<code |
|
|
<code |
|
@ -224,8 +229,9 @@ |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
<code |
|
|
<code |
|
|
>curl -X POST {{ request.url_root }}usermanager/api/v1/extensions -d |
|
|
>curl -X POST {{ request.url_root }}usermanager/api/v1/extensions -d |
|
|
'{"userid": <string>, "extension": <string>, "active": <integer>}' -H "X-Api-Key: {{ |
|
|
'{"userid": <string>, "extension": <string>, "active": |
|
|
g.user.wallets[0].inkey }}" -H "Content-type: application/json" |
|
|
<integer>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H |
|
|
|
|
|
"Content-type: application/json" |
|
|
</code> |
|
|
</code> |
|
|
</q-card-section> |
|
|
</q-card-section> |
|
|
</q-card> |
|
|
</q-card> |
|
|