Summary
Developers need a clean REST API to manage subscriptions from their own apps or CI pipelines,
without needing to open the dashboard.
Acceptance criteria
Request/response shape
See README for examples. Filter and channel_config are JSON objects — store as serialised
strings in SQLite, deserialise on read.
Summary
Developers need a clean REST API to manage subscriptions from their own apps or CI pipelines,
without needing to open the dashboard.
Acceptance criteria
GET /api/subscriptions— list all subs for authenticated keyPOST /api/subscriptions— create, returns 201 with full objectGET /api/subscriptions/:id— get single sub (403 if wrong key)PATCH /api/subscriptions/:id— toggleactive, updatelabelorchannel_configDELETE /api/subscriptions/:id— removes from DB and closes streamRequest/response shape
See README for examples. Filter and channel_config are JSON objects — store as serialised
strings in SQLite, deserialise on read.