WebPublish includes an optional REST API that lets you list and manage publishing tasks from external scripts or tools. The API is disabled by default and must be turned on in Settings before use.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CandyACE/webpublish/llms.txt
Use this file to discover all available pages before exploring further.
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