REST API¶
Everything the web UI does is available over HTTP. The API lives under
/api/v2/ and ships interactive docs.
Interactive docs¶
Browse and try every endpoint at:
Conventions¶
- Requests and responses are JSON.
- Errors return a JSON envelope with a machine code and the matching HTTP
status, such as
404not found,409conflict or422validation error. - Long jobs like library sync and trailer downloads return a job id. Progress streams over Server-Sent Events.
- If the login gate is on, send an API key. Create one in Settings → Security.
Example¶
Cue a programme and start it: