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": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"name": false,
"description": "cillum",
"index": 8557362.659655347
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -73965037,
"summary": true,
"displayName": "quis",
"type": true,
"x": "ut enim reprehenderit",
"y": 26247999,
"status": -97789810
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"name": 66955341,
"description": "ipsum culpa nostrud incididunt",
"index": 4872721.100139365
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -61836481,
"summary": false,
"displayName": false,
"type": 88325205,
"x": false,
"y": false,
"status": false
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"name": -18570308,
"description": 29996768,
"index": 49724202.219191104
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": 22611078,
"summary": -83041125.60909216,
"displayName": -36566113.18902816,
"type": "voluptate sit",
"x": false,
"y": 21453274,
"status": "voluptate ut veniam proident quis"
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"name": "enim veniam nisi",
"description": true,
"index": -85585147
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": 85031707.4342727,
"summary": "sed",
"displayName": false,
"type": "Lorem cillum anim",
"x": false,
"y": 83949769,
"status": -98558529.51337369
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "taskDocument"
}
}