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
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:
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
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:
post
/workers/jobs/
200

Success

List all schedulable jobs

get
Réponses
200

Success

application/json
string[]Optionnel
get
/workers/jobs/schedulables
200

Success

Fetch a single scheduled job

get
Paramètres de chemin
idstringRequis

A job ID

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

An optional fields mask

Réponses
200

Success

application/json
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:
get
/workers/jobs/{id}
200

Success

Update a single scheduled job

put
Paramètres de chemin
idstringRequis

A job ID

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

An optional fields mask

Réponses
200

Success

application/json
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:
put
/workers/jobs/{id}
200

Success

Delete a single scheduled job

delete
Paramètres de chemin
idstringRequis

A job ID

Réponses
delete
/workers/jobs/{id}
204

Successfuly deleted

Aucun contenu

Get a tasks status given its ID

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

An optional fields mask

Réponses
200

Success

application/json
excstringOptionnel

The exception thrown during execution

idstringLecture seuleOptionnel

Tha task execution ID

resultstringOptionnel

The task results if exists

statusstring · enumLecture seuleOptionnel

Cron expression for hour

Example: STARTEDValeurs possibles:
tracebackstringOptionnel

The execution traceback

get
/workers/tasks/{id}
200

Success

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