workers
Asynchronous workers related operations
Mis à jour
Ce contenu vous a-t-il été utile ?
Asynchronous workers related operations
Mis à jour
Ce contenu vous a-t-il été utile ?
Ce contenu vous a-t-il été utile ?
An optional fields mask
Success
GET /api/1/workers/jobs/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
[
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"id": "text",
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"last_run_at": "2025-08-25T23:08:45.613Z",
"last_run_id": "text",
"name": "text",
"schedule": "text",
"task": "test-high-queue"
}
]
An optional fields mask
The job execution arguments
[]
The job description
Is this job enabled
false
The job unique identifier
The job execution keyword arguments
{}
The last job execution date
The last execution task id
The job unique name
The schedule display
The task name
test-high-queue
Valeurs possibles: Success
POST /api/1/workers/jobs/ HTTP/1.1
Host: www.data.gouv.fr
Content-Type: application/json
Accept: */*
Content-Length: 233
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"name": "text",
"task": "test-high-queue"
}
Success
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"id": "text",
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"last_run_at": "2025-08-25T23:08:45.613Z",
"last_run_id": "text",
"name": "text",
"schedule": "text",
"task": "test-high-queue"
}