The REST API has no authentication. Only enable it on trusted networks and disable it when not in use.
Enabling the API
See API Configuration for full details.
Base URL
12110 with your configured api-port if you changed it.
Available endpoints
| Method | Path | Description |
|---|---|---|
| GET | /getList | Return all current publishing tasks |
| GET | /addTask | Add a new task from a local file path |
Response format
All responses useContent-Type: text/json;charset=UTF-8. Successful responses return a JSON object. Unrecognised paths return the plain text string error.
CORS
The API sets permissive CORS headers on every response:| Header | Value |
|---|---|
Access-Control-Allow-Origin | * |
Access-Control-Allow-Methods | PUT,POST,GET,DELETE,OPTIONS |
Access-Control-Allow-Headers | * |
Access-Control-Allow-Private-Network | true |
Error handling
| Scenario | Response |
|---|---|
| Unknown path | 200 OK with body error |
Invalid file path in /addTask | 404 with error message |
GET /getList
Retrieve all active publishing tasks
GET /addTask
Add a new task from a local path