Corrected example CURL requests in multiple extension API docs (#689)
* Updated api docs example CURL calls for satspay server * Updated api docs example CURL calls for copilot extension * Updated api docs example CURL calls for jukebox extension * Updated api docs example CURL calls for livestream extension * Updated api docs example CURL calls for lnaddress extension * Updated api docs example CURL calls for lnurldevices extension * Updated api docs example CURL calls for lnurlp extension * Updated api docs example CURL calls for offlineshop extension * Updated api docs example CURL calls for paywall extension * Updated api docs example CURL calls for satsdice extension * Updated api docs example CURL calls for splitpayments extension * Fix typo double slash in satsdice extension api docs * Updated api docs example CURL calls for tpos extension * Updated api docs example CURL calls for watchonly extension
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
>
|
||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||
<code
|
||||
>curl -X GET {{ request.base_url }}api/v1/livestream -H "X-Api-Key: {{
|
||||
>curl -X GET {{ request.base_url }}splitpayments/api/v1/targets -H "X-Api-Key: {{
|
||||
user.wallets[0].inkey }}"
|
||||
</code>
|
||||
</q-card-section>
|
||||
@@ -63,6 +63,7 @@
|
||||
dense
|
||||
expand-separator
|
||||
label="Set Target Wallets"
|
||||
class="q-pb-md"
|
||||
>
|
||||
<q-card>
|
||||
<q-card-section>
|
||||
@@ -78,7 +79,7 @@
|
||||
</h5>
|
||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||
<code
|
||||
>curl -X PUT {{ request.base_url }}api/v1/splitpayments/targets -H
|
||||
>curl -X PUT {{ request.base_url }}splitpayments/api/v1/targets -H
|
||||
"X-Api-Key: {{ user.wallets[0].adminkey }}" -H 'Content-Type:
|
||||
application/json' -d '{"targets": [{"wallet": <wallet id or invoice
|
||||
key>, "alias": <name to identify this>, "percent": <number
|
||||
|
||||
Reference in New Issue
Block a user