diff --git a/lnbits/extensions/usermanager/templates/usermanager/_api_docs.html b/lnbits/extensions/usermanager/templates/usermanager/_api_docs.html index 2f516b28..74640bb8 100644 --- a/lnbits/extensions/usermanager/templates/usermanager/_api_docs.html +++ b/lnbits/extensions/usermanager/templates/usermanager/_api_docs.html @@ -42,7 +42,7 @@ JSON list of users
Curl example
curl -X GET {{ request.url_root }}api/v1/users -H "X-Api-Key: {{ + >curl -X GET {{ request.url_root }}usermanager/api/v1/users -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" @@ -62,7 +62,7 @@ JSON list of users
Curl example
curl -X GET {{ request.url_root }}api/v1/users/<user_id> -H + >curl -X GET {{ request.url_root }}usermanager/api/v1/users/<user_id> -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" @@ -84,7 +84,7 @@ JSON wallet data
Curl example
curl -X GET {{ request.url_root }}api/v1/wallets/<user_id> -H + >curl -X GET {{ request.url_root }}usermanager/api/v1/wallets/<user_id> -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" @@ -106,7 +106,7 @@ JSON a wallets transactions
Curl example
curl -X GET {{ request.url_root }}api/v1/wallets<wallet_id> -H + >curl -X GET {{ request.url_root }}usermanager/api/v1/wallets<wallet_id> -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" @@ -147,7 +147,7 @@ >
Curl example
curl -X POST {{ request.url_root }}api/v1/users -d '{"admin_id": "{{ + >curl -X POST {{ request.url_root }}usermanager/api/v1/users -d '{"admin_id": "{{ g.user.id }}", "wallet_name": <string>, "user_name": <string>, "email": <Optional string>, "password": < Optional string>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H @@ -185,7 +185,7 @@ >
Curl example
curl -X POST {{ request.url_root }}api/v1/wallets -d '{"user_id": + >curl -X POST {{ request.url_root }}usermanager/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" @@ -209,7 +209,7 @@ {"X-Api-Key": <string>}
Curl example
curl -X DELETE {{ request.url_root }}api/v1/users/<user_id> -H + >curl -X DELETE {{ request.url_root }}usermanager/api/v1/users/<user_id> -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" @@ -226,7 +226,7 @@ {"X-Api-Key": <string>}
Curl example
curl -X DELETE {{ request.url_root }}api/v1/wallets/<wallet_id> + >curl -X DELETE {{ request.url_root }}usermanager/api/v1/wallets/<wallet_id> -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" @@ -248,7 +248,7 @@ {"X-Api-Key": <string>}
Curl example
curl -X POST {{ request.url_root }}api/v1/extensions -d '{"userid": + >curl -X POST {{ request.url_root }}usermanager/api/v1/extensions -d '{"userid": <string>, "extension": <string>, "active": <integer>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H "Content-type: application/json"