workers

Asynchronous workers related operations

List all scheduled jobs

get
Paramètres d'en-tête
X-Fieldsstring · maskOptionnel

An optional fields mask

Réponses
200

Success

application/json
get
/workers/jobs/
200

Success

Create a new scheduled job

post
Paramètres d'en-tête
X-Fieldsstring · maskOptionnel

An optional fields mask

Corps
argsobject[]Optionnel

The job execution arguments

Default: []
descriptionstringOptionnel

The job description

enabledbooleanOptionnel

Is this job enabled

Default: false
idstringLecture seuleOptionnel

The job unique identifier

kwargsobjectOptionnel

The job execution keyword arguments

Default: {}
last_run_atstring · date-timeLecture seuleOptionnel

The last job execution date

last_run_idstringLecture seuleOptionnel

The last execution task id

namestringRequis

The job unique name

schedulestringLecture seuleOptionnel

The schedule display

taskstring · enumRequis

The task name

Example: test-high-queueValeurs possibles:
Réponses
200

Success

application/json
post
/workers/jobs/
200

Success

Mis à jour

Ce contenu vous a-t-il été utile ?