Admin Jobs
Trigger a background job on demand
Admin-only endpoint that enqueues any ApplicationJob by class name. Accepts an optional params hash that is forwarded to the job (as keyword arguments by default, or transformed by a registered custom transformer).
post/v1/admin/jobs/trigger
Request
- Base URLhttps://api.hify.club
- AuthAPI key in header X-User-Token
Request body
Example request
{
"job": "MomentDetectionInitializerJob",
"params": {
"record_type": "OrderRequest",
"record_id": 123
}
}Response
Job successfully enqueued
Example response
{
"status": "queued",
"job": "MomentDetectionInitializerJob"
}Changes
No recorded changes to this operation across all 1 revision of this API.