prettier changes its rules everyday.
This commit is contained in:
parent
1630a28da0
commit
4c8ce1bfed
|
@ -17,8 +17,8 @@
|
||||||
<code>[<paywall_object>, ...]</code>
|
<code>[<paywall_object>, ...]</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.url_root }}api/v1/paywalls -H
|
>curl -X GET {{ request.url_root }}api/v1/paywalls -H "X-Api-Key: {{
|
||||||
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
g.user.wallets[0].inkey }}"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -48,11 +48,11 @@
|
||||||
>
|
>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X POST {{ request.url_root }}api/v1/paywalls -d
|
>curl -X POST {{ request.url_root }}api/v1/paywalls -d '{"url":
|
||||||
'{"url": <string>, "memo": <string>, "description":
|
<string>, "memo": <string>, "description": <string>,
|
||||||
<string>, "amount": <integer>, "remembers":
|
"amount": <integer>, "remembers": <boolean>}' -H
|
||||||
<boolean>}' -H "Content-type: application/json" -H "X-Api-Key:
|
"Content-type: application/json" -H "X-Api-Key: {{
|
||||||
{{ g.user.wallets[0].adminkey }}"
|
g.user.wallets[0].adminkey }}"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
<code>JSON list of users</code>
|
<code>JSON list of users</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.url_root }}api/v1/users -H
|
>curl -X GET {{ request.url_root }}api/v1/users -H "X-Api-Key: {{
|
||||||
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
g.user.wallets[0].inkey }}"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -64,9 +64,8 @@
|
||||||
<code>JSON wallet data</code>
|
<code>JSON wallet data</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.url_root
|
>curl -X GET {{ request.url_root }}api/v1/wallets/<user_id> -H
|
||||||
}}api/v1/wallets/<user_id> -H "X-Api-Key: {{
|
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
||||||
g.user.wallets[0].inkey }}"
|
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -87,9 +86,8 @@
|
||||||
<code>JSON a wallets transactions</code>
|
<code>JSON a wallets transactions</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.url_root
|
>curl -X GET {{ request.url_root }}api/v1/wallets<wallet_id> -H
|
||||||
}}api/v1/wallets<wallet_id> -H "X-Api-Key: {{
|
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
||||||
g.user.wallets[0].inkey }}"
|
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -128,10 +126,10 @@
|
||||||
>
|
>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X POST {{ request.url_root }}api/v1/users -d
|
>curl -X POST {{ request.url_root }}api/v1/users -d '{"admin_id": "{{
|
||||||
'{"admin_id": "{{ g.user.id }}", "wallet_name": <string>,
|
g.user.id }}", "wallet_name": <string>, "user_name":
|
||||||
"user_name": <string>}' -H "X-Api-Key: {{
|
<string>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H
|
||||||
g.user.wallets[0].inkey }}" -H "Content-type: application/json"
|
"Content-type: application/json"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -165,10 +163,10 @@
|
||||||
>
|
>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X POST {{ request.url_root }}api/v1/wallets -d
|
>curl -X POST {{ request.url_root }}api/v1/wallets -d '{"user_id":
|
||||||
'{"user_id": <string>, "wallet_name": <string>,
|
<string>, "wallet_name": <string>, "admin_id": "{{
|
||||||
"admin_id": "{{ g.user.id }}"}' -H "X-Api-Key: {{
|
g.user.id }}"}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H
|
||||||
g.user.wallets[0].inkey }}" -H "Content-type: application/json"
|
"Content-type: application/json"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -189,9 +187,8 @@
|
||||||
<code>{"X-Api-Key": <string>}</code>
|
<code>{"X-Api-Key": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X DELETE {{ request.url_root
|
>curl -X DELETE {{ request.url_root }}api/v1/users/<user_id> -H
|
||||||
}}api/v1/users/<user_id> -H "X-Api-Key: {{
|
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
||||||
g.user.wallets[0].inkey }}"
|
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -207,9 +204,8 @@
|
||||||
<code>{"X-Api-Key": <string>}</code>
|
<code>{"X-Api-Key": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X DELETE {{ request.url_root
|
>curl -X DELETE {{ request.url_root }}api/v1/wallets/<wallet_id>
|
||||||
}}api/v1/wallets/<wallet_id> -H "X-Api-Key: {{
|
-H "X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
||||||
g.user.wallets[0].inkey }}"
|
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -230,8 +226,8 @@
|
||||||
<code>{"X-Api-Key": <string>}</code>
|
<code>{"X-Api-Key": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X POST {{ request.url_root }}api/v1/extensions -d
|
>curl -X POST {{ request.url_root }}api/v1/extensions -d '{"userid":
|
||||||
'{"userid": <string>, "extension": <string>, "active":
|
<string>, "extension": <string>, "active":
|
||||||
<integer>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H
|
<integer>}' -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -H
|
||||||
"Content-type: application/json"
|
"Content-type: application/json"
|
||||||
</code>
|
</code>
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
<code>[<withdraw_link_object>, ...]</code>
|
<code>[<withdraw_link_object>, ...]</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.url_root }}api/v1/links -H
|
>curl -X GET {{ request.url_root }}api/v1/links -H "X-Api-Key: {{
|
||||||
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
g.user.wallets[0].inkey }}"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -49,9 +49,8 @@
|
||||||
<code>{"lnurl": <string>}</code>
|
<code>{"lnurl": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.url_root
|
>curl -X GET {{ request.url_root }}api/v1/links/<withdraw_id> -H
|
||||||
}}api/v1/links/<withdraw_id> -H "X-Api-Key: {{
|
"X-Api-Key: {{ g.user.wallets[0].inkey }}"
|
||||||
g.user.wallets[0].inkey }}"
|
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
@ -79,8 +78,8 @@
|
||||||
<code>{"lnurl": <string>}</code>
|
<code>{"lnurl": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X POST {{ request.url_root }}api/v1/links -d
|
>curl -X POST {{ request.url_root }}api/v1/links -d '{"title":
|
||||||
'{"title": <string>, "min_withdrawable": <integer>,
|
<string>, "min_withdrawable": <integer>,
|
||||||
"max_withdrawable": <integer>, "uses": <integer>,
|
"max_withdrawable": <integer>, "uses": <integer>,
|
||||||
"wait_time": <integer>, "is_unique": <boolean>}' -H
|
"wait_time": <integer>, "is_unique": <boolean>}' -H
|
||||||
"Content-type: application/json" -H "X-Api-Key: {{
|
"Content-type: application/json" -H "X-Api-Key: {{
|
||||||
|
@ -115,9 +114,8 @@
|
||||||
<code>{"lnurl": <string>}</code>
|
<code>{"lnurl": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X PUT {{ request.url_root
|
>curl -X PUT {{ request.url_root }}api/v1/links/<withdraw_id> -d
|
||||||
}}api/v1/links/<withdraw_id> -d '{"title":
|
'{"title": <string>, "min_withdrawable": <integer>,
|
||||||
<string>, "min_withdrawable": <integer>,
|
|
||||||
"max_withdrawable": <integer>, "uses": <integer>,
|
"max_withdrawable": <integer>, "uses": <integer>,
|
||||||
"wait_time": <integer>, "is_unique": <boolean>}' -H
|
"wait_time": <integer>, "is_unique": <boolean>}' -H
|
||||||
"Content-type: application/json" -H "X-Api-Key: {{
|
"Content-type: application/json" -H "X-Api-Key: {{
|
||||||
|
@ -145,9 +143,8 @@
|
||||||
<code></code>
|
<code></code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X DELETE {{ request.url_root
|
>curl -X DELETE {{ request.url_root }}api/v1/links/<withdraw_id>
|
||||||
}}api/v1/links/<withdraw_id> -H "X-Api-Key: {{
|
-H "X-Api-Key: {{ g.user.wallets[0].adminkey }}"
|
||||||
g.user.wallets[0].adminkey }}"
|
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user