From f42dab5e309c5e3d90e597492d7063035705f816 Mon Sep 17 00:00:00 2001 From: benarc Date: Wed, 17 Mar 2021 17:55:00 +0000 Subject: [PATCH] Added api docs --- .../templates/withdraw/_api_docs.html | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/withdraw/templates/withdraw/_api_docs.html b/lnbits/extensions/withdraw/templates/withdraw/_api_docs.html index 75ed9e02e..13d2c1d3e 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/_api_docs.html +++ b/lnbits/extensions/withdraw/templates/withdraw/_api_docs.html @@ -149,8 +149,7 @@ - - + + + + GET + /withdraw/img/<lnurl_id> +
Body (application/json)
+
+ Returns 201 CREATED (application/json) +
+ {"status": <bool>} +
Curl example
+ curl -X GET {{ request.url_root }}/withdraw/img/<lnurl_id>" + +
+
+
+ + +