Add tracks, profit.

GET /livestream/api/v1/livestream
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK (application/json)
[<livestream_object>, ...]
Curl example
curl -X GET {{ request.url_root }}api/v1/livestream -H "X-Api-Key: {{ user.wallets[0].inkey }}"
PUT /livestream/api/v1/livestream/track/<track_id>
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 201 CREATED (application/json)
Curl example
curl -X PUT {{ request.url_root }}api/v1/livestream/track/<track_id> -H "X-Api-Key: {{ user.wallets[0].inkey }}"
PUT /livestream/api/v1/livestream/fee/<fee_pct>
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 201 CREATED (application/json)
Curl example
curl -X PUT {{ request.url_root }}api/v1/livestream/fee/<fee_pct> -H "X-Api-Key: {{ user.wallets[0].inkey }}"
POST /livestream/api/v1/livestream/tracks
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
{"name": <string>, "download_url": <string>, "price_msat": <integer>, "producer_id": <integer>, "producer_name": <string>}
Returns 201 CREATED (application/json)
Curl example
curl -X POST {{ request.url_root }}api/v1/livestream/tracks -d '{"name": <string>, "download_url": <string>, "price_msat": <integer>, "producer_id": <integer>, "producer_name": <string>}' -H "Content-type: application/json" -H "X-Api-Key: {{ user.wallets[0].adminkey }}"
DELETE /livestream/api/v1/livestream/tracks/<track_id>
Headers
{"X-Api-Key": <invoice_key>}
Returns 204 NO CONTENT
Curl example
curl -X DELETE {{ request.url_root }}api/v1/livestream/tracks/<track_id> -H "X-Api-Key: {{ user.wallets[0].inkey }}"