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",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": 49824001.10605964,
"description": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": 41953046.327186435,
"summary": "eiusmod",
"displayName": true,
"type": "cupidatat",
"x": -67183864.23259509,
"y": -68136011,
"status": 29273461
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": -31780895,
"description": -69874811
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -11350850.072363228,
"summary": "dolore fugiat dolor",
"displayName": "id",
"type": "non sit nostrud eu",
"x": "aute proident",
"y": 91635320.286345,
"status": 2294706
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "taskDocument"
}
}