StreamerCopilot: get tips via static QR (lnurl-pay) and show an animation
Created by, Ben Arc

POST /copilot/api/v1/copilot
Headers
{"X-Api-Key": <admin_key>}
Body (application/json)
Returns 200 OK (application/json)
[<copilot_object>, ...]
Curl example
curl -X POST {{ request.base_url }}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>
Headers
{"X-Api-Key": <admin_key>}
Body (application/json)
Returns 200 OK (application/json)
[<copilot_object>, ...]
Curl example
curl -X POST {{ request.base_url }}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>
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK (application/json)
[<copilot_object>, ...]
Curl example
curl -X GET {{ request.base_url }}api/v1/copilot/<copilot_id> -H "X-Api-Key: {{ user.wallets[0].inkey }}"
GET /copilot/api/v1/copilots
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK (application/json)
[<copilot_object>, ...]
Curl example
curl -X GET {{ request.base_url }}api/v1/copilots -H "X-Api-Key: {{ user.wallets[0].inkey }}"
DELETE /copilot/api/v1/copilot/<copilot_id>
Headers
{"X-Api-Key": <admin_key>}
Returns 204 NO CONTENT
Curl example
curl -X DELETE {{ request.base_url }}api/v1/copilot/<copilot_id> -H "X-Api-Key: {{ user.wallets[0].adminkey }}"
GET /api/v1/copilot/ws/<copilot_id>/<comment>/<data>
Headers
{"X-Api-Key": <admin_key>}
Returns 200
Curl example
curl -X GET {{ request.base_url }}/api/v1/copilot/ws/<string, copilot_id>/<string, comment>/<string, gif name> -H "X-Api-Key: {{ user.wallets[0].adminkey }}"