diff --git a/templates/lncalendar/_api_docs.html b/templates/lncalendar/_api_docs.html index 57cf910..44b3870 100644 --- a/templates/lncalendar/_api_docs.html +++ b/templates/lncalendar/_api_docs.html @@ -19,7 +19,7 @@
Curl example
curl -X GET {{ request.base_url }}paywall/api/v1/paywalls -H - "X-Api-Key: {{ user.wallets[0].inkey }}" + "X-Api-Key: `invoice_key`" @@ -52,8 +52,7 @@
Curl example
>curl -X POST {{ request.base_url }}paywall/api/v1/paywalls -d '{"url": <string>, "memo": <string>, "description": <string>, "amount": <integer>, "remembers": - <boolean>}' -H "Content-type: application/json" -H "X-Api-Key: - {{ user.wallets[0].adminkey }}" + <boolean>}' -H "Content-type: application/json" -H "X-Api-Key: `admin_key`" @@ -133,14 +132,13 @@
Curl example
/paywall/api/v1/paywalls/<paywall_id>
Headers
- {"X-Api-Key": <admin_key>}
+ {"X-Api-Key": admin_key}
Returns 204 NO CONTENT
Curl example
curl -X DELETE {{ request.base_url - }}paywall/api/v1/paywalls/<paywall_id> -H "X-Api-Key: {{ - user.wallets[0].adminkey }}" + }}paywall/api/v1/paywalls/<paywall_id> -H "X-Api-Key: `admin_key`"