From 7a1477c0561c759bba35a36b88b8f3eb982a2d5f Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 20 Apr 2020 08:37:27 +0100 Subject: [PATCH] Update _api_docs.html --- lnbits/extensions/tpos/templates/tpos/_api_docs.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/tpos/templates/tpos/_api_docs.html b/lnbits/extensions/tpos/templates/tpos/_api_docs.html index b95da486..f4859e2c 100644 --- a/lnbits/extensions/tpos/templates/tpos/_api_docs.html +++ b/lnbits/extensions/tpos/templates/tpos/_api_docs.html @@ -12,7 +12,7 @@ {"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 201 CREATED (application/json)
- {"lnurl": <string>} + {"currency": <string>, "id": <string>, "name": <string>, "wallet": <string>}
Curl example
curl -X GET http://127.0.0.1:5000/tpos/api/v1/tposs -H "X-Api-Key: <invoice_key>" @@ -44,7 +44,7 @@
Returns 201 NO_CONTENT
Curl example
- curl -X DELETE http://127.0.0.1:5000/withdraw/api/v1/links/<tpos_id> -H "X-Api-Key: <admin_key>" + curl -X DELETE http://127.0.0.1:5000/tpos/api/v1/tposs/<tpos_id> -H "X-Api-Key: <admin_key>"