Jobs
Hold all pending jobs
Changed onAdmin only. Sets all pending jobs to held status so the worker skips them. Use this to pause the queue for testing without deleting jobs.
post/jobs/hold_all
Request
- Base URLhttps://localhost/index.php/api
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Jobs held successfully
Example response
{
"status": "success"
}Changes
- info
endpoint added
- info