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": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": -25279538,
"description": "ut"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "reprehenderit anim"
},
{
"type": "encryption",
"pointer": "cupidatat magna sint quis eiusmod"
},
{
"type": "encryption",
"pointer": "do"
},
{
"type": "encryption",
"pointer": "aliqua aute"
}
]
},
"metrics": {
"retrying": true
},
"name": "veniam",
"summary": "nulla culpa amet",
"displayName": false,
"type": "Lorem exercitation do deserunt",
"x": "sit aliquip adipisicing",
"y": 23207075.03181207
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c"
],
"name": "anim do proident",
"description": false
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "esse anim magna"
},
{
"type": "encryption",
"pointer": "nulla adipisicing reprehenderit non ipsum"
}
]
},
"metrics": {
"retrying": false
},
"name": 20667251.38191247,
"summary": 30629695,
"displayName": 16873461,
"type": -73411727,
"x": -83975355,
"y": false
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c"
],
"name": "sint Ut proident Duis",
"description": false
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "velit magna"
}
]
},
"metrics": {
"retrying": false
},
"name": -2850131.5343338847,
"summary": 28686039,
"displayName": 24058394,
"type": -81157914.52268937,
"x": 14592527,
"y": 43607449.44431549
}
]
Copied to Clipboard
{
"title": "task_iterations",
"type": "array",
"items": {
"$ref": "taskDocument"
}
}