fix api_docs
This commit is contained in:
parent
8d731dccfc
commit
adf5faa6bf
1 changed files with 6 additions and 6 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
<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.base_url }}withdraw/api/v1/links -H
|
>curl -X GET {{ request.base_url }}withdraw/api/v1/links -H
|
||||||
"X-Api-Key: <span v-text="user.wallets[0].inkey"></span>"
|
"X-Api-Key: <span v-text="g.user.wallets[0].inkey"></span>"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.base_url
|
>curl -X GET {{ request.base_url
|
||||||
}}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key:
|
}}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key:
|
||||||
<span v-text="user.wallets[0].inkey"></span>"
|
<span v-text="g.user.wallets[0].inkey"></span>"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
"max_withdrawable": <integer>, "uses": <integer>,
|
"max_withdrawable": <integer>, "uses": <integer>,
|
||||||
"wait_time": <integer>, "is_unique": <boolean>,
|
"wait_time": <integer>, "is_unique": <boolean>,
|
||||||
"webhook_url": <string>}' -H "Content-type: application/json" -H
|
"webhook_url": <string>}' -H "Content-type: application/json" -H
|
||||||
"X-Api-Key: <span v-text="user.wallets[0].adminkey"></span>"
|
"X-Api-Key: <span v-text="g.user.wallets[0].adminkey"></span>"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
@ -123,7 +123,7 @@
|
||||||
"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:
|
||||||
<span v-text="user.wallets[0].adminkey"></span>"
|
<span v-text="g.user.wallets[0].adminkey"></span>"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
@ -148,7 +148,7 @@
|
||||||
<code
|
<code
|
||||||
>curl -X DELETE {{ request.base_url
|
>curl -X DELETE {{ request.base_url
|
||||||
}}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key:
|
}}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key:
|
||||||
<span v-text="user.wallets[0].adminkey"></span>"
|
<span v-text="g.user.wallets[0].adminkey"></span>"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
@ -176,7 +176,7 @@
|
||||||
<code
|
<code
|
||||||
>curl -X GET {{ request.base_url
|
>curl -X GET {{ request.base_url
|
||||||
}}withdraw/api/v1/links/<the_hash>/<lnurl_id> -H
|
}}withdraw/api/v1/links/<the_hash>/<lnurl_id> -H
|
||||||
"X-Api-Key: <span v-text="user.wallets[0].inkey"></span>"
|
"X-Api-Key: <span v-text="g.user.wallets[0].inkey"></span>"
|
||||||
</code>
|
</code>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue