Summary
Get Iterations of a Job's Task
Description
Get iterations of a Job's Task by Job ID and Task name.
Route
GET /workflow_engine/getTaskIterations/:job_id/:task
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
job_id |
string |
yes |
Job ID to get iterations of its Task. |
task |
string |
yes |
Four digit hexadecimal task id to get task iterations from |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
task_iterations |
array |
Iterations of a Job's Task. |
Copied to Clipboard
[
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": "ex labore nostrud",
"description": -54720490.2618295
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -60878105,
"summary": 74904808.3154177,
"displayName": -2911670,
"type": -75097129,
"x": 38733608.941676766,
"y": -97332911,
"status": false
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": -79496008.56640497,
"description": false
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": "laboris consectetur reprehenderit id",
"summary": false,
"displayName": true,
"type": false,
"x": "ea dolore mollit velit occaecat",
"y": 4306059.8404522985,
"status": false
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "taskDocument"
}
}