API reference
Maintenance
Scheduled tasks and the maintenance window (P1-36).
Paths are relative to /api/v1 on your server.
/maintenance#Read the scheduled tasks and window
- Authorisation
- Bearer token or API key · Session cookie
- 200Success.
application/json·MaintenanceStatus - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackssettings:manage, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope
/maintenance/tasks/{task}/run#Run a task now
- Authorisation
- Bearer token or API key · Session cookie
| Parameter | In | Type | Description |
|---|---|---|---|
task required | path | string |
- 202Success.
application/json·object - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackssettings:manage, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope - 404
NOT_FOUND: no such thing, or not one the caller may see.application/json·ErrorEnvelope
No endpoint here matches. Try another word, or look in another area.