|
|
@ -42,7 +42,7 @@ |
|
|
|
<code>JSON list of users</code> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X GET {{ request.url_root }}usermanager/api/v1/users -H |
|
|
|
>curl -X GET {{ request.url_root }}api/v1/users -H |
|
|
|
"X-Api-Key: {{ g.user.wallets[0].inkey }}" |
|
|
|
</code> |
|
|
|
</q-card-section> |
|
|
@ -65,7 +65,7 @@ |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X GET {{ request.url_root |
|
|
|
}}usermanager/api/v1/wallets/<user_id> -H "X-Api-Key: {{ |
|
|
|
}}api/v1/wallets/<user_id> -H "X-Api-Key: {{ |
|
|
|
g.user.wallets[0].inkey }}" |
|
|
|
</code> |
|
|
|
</q-card-section> |
|
|
@ -88,7 +88,7 @@ |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X GET {{ request.url_root |
|
|
|
}}usermanager/api/v1/wallets<wallet_id> -H "X-Api-Key: {{ |
|
|
|
}}api/v1/wallets<wallet_id> -H "X-Api-Key: {{ |
|
|
|
g.user.wallets[0].inkey }}" |
|
|
|
</code> |
|
|
|
</q-card-section> |
|
|
@ -128,7 +128,7 @@ |
|
|
|
> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X POST {{ request.url_root }}usermanager/api/v1/users -d |
|
|
|
>curl -X POST {{ request.url_root }}api/v1/users -d |
|
|
|
'{"admin_id": "{{ g.user.id }}", "wallet_name": <string>, |
|
|
|
"user_name": <string>}' -H "X-Api-Key: {{ |
|
|
|
g.user.wallets[0].inkey }}" -H "Content-type: application/json" |
|
|
@ -165,7 +165,7 @@ |
|
|
|
> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X POST {{ request.url_root }}usermanager/api/v1/wallets -d |
|
|
|
>curl -X POST {{ request.url_root }}api/v1/wallets -d |
|
|
|
'{"user_id": <string>, "wallet_name": <string>, |
|
|
|
"admin_id": "{{ g.user.id }}"}' -H "X-Api-Key: {{ |
|
|
|
g.user.wallets[0].inkey }}" -H "Content-type: application/json" |
|
|
@ -190,7 +190,7 @@ |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X DELETE {{ request.url_root |
|
|
|
}}usermanager/api/v1/users/<user_id> -H "X-Api-Key: {{ |
|
|
|
}}api/v1/users/<user_id> -H "X-Api-Key: {{ |
|
|
|
g.user.wallets[0].inkey }}" |
|
|
|
</code> |
|
|
|
</q-card-section> |
|
|
@ -208,7 +208,7 @@ |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X DELETE {{ request.url_root |
|
|
|
}}usermanager/api/v1/wallets/<wallet_id> -H "X-Api-Key: {{ |
|
|
|
}}api/v1/wallets/<wallet_id> -H "X-Api-Key: {{ |
|
|
|
g.user.wallets[0].inkey }}" |
|
|
|
</code> |
|
|
|
</q-card-section> |
|
|
@ -230,7 +230,7 @@ |
|
|
|
<code>{"X-Api-Key": <string>}</code> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code |
|
|
|
>curl -X POST {{ request.url_root }}usermanager/api/v1/extensions -d |
|
|
|
>curl -X POST {{ request.url_root }}api/v1/extensions -d |
|
|
|
'{"userid": <string>, "extension": <string>, "active": |
|
|
|
<integer>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H |
|
|
|
"Content-type: application/json" |
|
|
|