API referenceSections

Scheduled tasks

7 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
GET/api/v1/tenants/{tid}/sites/{id}/cronA website's scheduled tasks (ADR 0048)
POST/api/v1/tenants/{tid}/sites/{id}/cronAdd a scheduled task; it runs as the website's own identity
GET/api/v1/tenants/{tid}/sites/{id}/cron/runsThe latest run of each task, read from the server
PUT/api/v1/tenants/{tid}/sites/{id}/cron/{task}Change a scheduled task
DELETE/api/v1/tenants/{tid}/sites/{id}/cron/{task}Remove a scheduled task
POST/api/v1/tenants/{tid}/sites/{id}/cron/{task}/run 202Run a scheduled task now
GET/api/v1/tenants/{tid}/sites/{id}/cron/{task}/runsThe kept runs of one task, newest first, with their output