StreamerCopilot: get tips via static QR (lnurl-pay) and show an
animation
Created by, Ben Arc
POST /copilot/api/v1/copilot
{"X-Api-Key": <admin_key>}
[<copilot_object>, ...]
curl -X POST {{ request.base_url }}copilot/api/v1/copilot -d
'{"title": <string>, "animation": <string>,
"show_message":<string>, "amount": <integer>,
"lnurl_title": <string>}' -H "Content-type: application/json"
-H "X-Api-Key: {{user.wallets[0].adminkey }}"
PUT
/copilot/api/v1/copilot/<copilot_id>
{"X-Api-Key": <admin_key>}
[<copilot_object>, ...]
curl -X POST {{ request.base_url
}}copilot/api/v1/copilot/<copilot_id> -d '{"title":
<string>, "animation": <string>,
"show_message":<string>, "amount": <integer>,
"lnurl_title": <string>}' -H "Content-type: application/json"
-H "X-Api-Key: {{user.wallets[0].adminkey }}"
GET
/copilot/api/v1/copilot/<copilot_id>
{"X-Api-Key": <invoice_key>}
[<copilot_object>, ...]
curl -X GET {{ request.base_url
}}copilot/api/v1/copilot/<copilot_id> -H "X-Api-Key: {{
user.wallets[0].inkey }}"
GET /copilot/api/v1/copilots
{"X-Api-Key": <invoice_key>}
[<copilot_object>, ...]
curl -X GET {{ request.base_url }}copilot/api/v1/copilots -H
"X-Api-Key: {{ user.wallets[0].inkey }}"
DELETE
/copilot/api/v1/copilot/<copilot_id>
{"X-Api-Key": <admin_key>}
curl -X DELETE {{ request.base_url
}}copilot/api/v1/copilot/<copilot_id> -H "X-Api-Key: {{
user.wallets[0].adminkey }}"
GET
/api/v1/copilot/ws/<copilot_id>/<comment>/<data>
{"X-Api-Key": <admin_key>}
curl -X GET {{ request.base_url
}}copilot/api/v1/copilot/ws/<string, copilot_id>/<string,
comment>/<string, gif name> -H "X-Api-Key: {{
user.wallets[0].adminkey }}"