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"
],
"name": "ipsum proident dolor non",
"description": 9632739.123955414
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "pariatur occaecat ut dolor"
},
{
"type": "encryption",
"pointer": "dolore reprehenderit"
},
{
"type": "encryption",
"pointer": "incididunt minim ea nisi"
},
{
"type": "encryption",
"pointer": "labore est ut magna"
}
]
},
"metrics": {
"retrying": false
},
"name": false,
"summary": 45531313.25943643,
"displayName": -25757088.19864358,
"type": -9790412.498145163,
"x": true,
"y": 53293016.67376399
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": true,
"description": 22502592.33243166
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "amet"
}
]
},
"metrics": {
"retrying": false
},
"name": 34760083,
"summary": 96867484.16022953,
"displayName": true,
"type": false,
"x": "cupidatat sunt elit non",
"y": false
}
]
Copied to Clipboard
{
"title": "task_iterations",
"type": "array",
"items": {
"$ref": "taskDocument"
}
}