Summary
Get a Job
Description
Get a Job.
Route
GET /operations-manager/jobs/:id
Roles
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The id of the Job to get. |
| queryParameters | object | yes | Optional parameters for projecting fields in the Job document. |
{ "queryParameters": { "include": "name,description", "exclude": "_id", "dereference": "tasks" } }
{ "type": "object", "properties": { "queryParameters": { "title": "queryParameters", "type": "object", "properties": { "include": { "type": "string", "description": "Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'.", "examples": [ "name", "description", "name,description" ] }, "exclude": { "type": "string", "description": "Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'.", "examples": [ "_id", "description", "_id,description" ] }, "dereference": { "type": "string", "description": "Designates foreign key fields to dereference in the API output.", "examples": [ "tasks", "accounts.createdBy" ] } } } }, "required": [ "queryParameters" ], "additionalProperties": false }
Return
| Name | Type | Description |
|---|---|---|
| job | object | The requested Job. |
{ "message": "Successfully retrieved search results", "data": { "_id": "8c2553735278a1f3062879b9", "font_size": -46063843, "type": "resource:action", "created": "1964-01-04T14:21:15.585Z", "last_updated": "2005-10-09T15:34:35.954Z", "createdVersion": "7498.65127534.6677249", "lastUpdatedVersion": "629255877.02.318500-6184.79170141886.127.208316", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 77627086, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -80719055.25513063, "sla": 98682859.08644262, "decorators": [ { "type": "encryption", "pointer": "/~0/E1,Q7v/~0/~0/fNXtt/A,lto79kMS/~1/R/~0/~0/~0" } ], "status": "running", "tags": [], "error": [ { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "fa822e683b1614908f49bfca", "e4d749ee510f0173888a2540", "ec33bb99cf74a19c28f89cbf" ], "validationErrors": [ { "keyword": "ullamco", "dataPath": "non aliquip Lorem pariatur adipisicing", "schemaPath": "amet", "message": "deserunt" }, { "keyword": "cillum quis minim dolor", "dataPath": "amet cillum in consequat", "schemaPath": "id occaecat nostrud sit", "message": "tempor exercitation laboris proident" }, { "keyword": "nostrud ex", "dataPath": "Ut nulla consectetur cillum", "schemaPath": "aute reprehenderit eiusmod sunt", "message": "id anim ipsum esse" } ], "created_by": "5369b6ae907dd3ff955fceb5", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 9203590.290615126, "y": -60121822.701404385, "gridCoordinate": { "x": 97442021.10285443, "y": -43094708.78869495 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 98690717.19240156, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "default", "default", { "_id": "065b6209f1bd773bd6d497d2", "provenance": "id exercitation nisi veniam qui", "name": "aliqua proident enim in", "description": "Ut sint anim veniam amet", "memberOf": [ { "groupId": "3aa944a8e100d6c2a8d23247", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim proident in labore esse" }, { "roleId": "commodo est dolore" }, { "roleId": "dolore nulla officia" }, { "roleId": "voluptate mollit ipsum Duis" } ], "inactive": false, "_meta": { "created": "1998-05-22T02:04:21.828Z", "updated": "1971-04-18T07:19:08.892Z", "migrationVersion": 58640868 } }, { "_id": "5b3d80a1ad2efba1ff7fa811", "provenance": "Ut", "name": "mollit officia quis deserunt dolore", "description": "labore", "memberOf": [ { "groupId": "74e26d861ae72124bb0d8dcd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip minim ullamco dolore eiusmod" }, { "roleId": "nulla" }, { "roleId": "Lorem exercitation in aliqua cillum" }, { "roleId": "dolor Ut eiusmod" }, { "roleId": "mollit qui sit aliquip" } ], "inactive": false, "_meta": { "created": "1992-06-27T08:46:09.907Z", "updated": "2008-08-15T21:50:32.667Z", "migrationVersion": 21016235 } }, "85a4fa3b0dbf53152a7f5d85" ], "iterations": [ "fF8CaB5F-f96a-806B-3Eef-CCb47cc3C8eF", "49bbEbB6-e490-Cb60-dadE-3Dec82aDFBa6" ] }, "workflow_end": { "x": -37076052.6832497, "y": -56008072.00474445, "gridCoordinate": { "x": -353598.59583063424, "y": -32752156.805815652 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_end", "e28f" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "error_handler", "workflow_end", "3a1f", "3a1f" ] }, "metrics": { "end_time": -27084757.359977648, "run_time": -5461612.871156558 }, "groups": [ "default", { "_id": "dfcc5d1747ac7345c84a5355", "provenance": "Excepteur do aute labore tempor", "name": "velit aliquip", "description": "anim culpa in cillum sint", "memberOf": [ { "groupId": "a338cd30fdb31aa92872fa2d", "aaaManaged": true }, { "groupId": "a556fc2936143d6dc3c2e6e4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut occaecat labore dolor" }, { "roleId": "voluptate in nostrud commodo" } ], "inactive": true, "_meta": { "created": "1971-05-03T12:48:21.567Z", "updated": "1959-02-20T20:38:13.104Z", "migrationVersion": -28318784 } } ], "iterations": [ "f4fa0cf8-b0f7-0FA8-5ce9-C9fB5fD54BDC" ] }, "error_handler": { "x": 19848464.92277184, "y": -9139556.794091955, "gridCoordinate": { "x": 32540097.685757145, "y": -13538052.450009987 }, "name": "childJob", "location": "Application", "locationType": "tempor exercitation", "app": "velit ex pariatur Excepteur", "canvasName": "enim reprehenderit", "displayName": "commodo nulla laboris officia est", "summary": "nulla officia cillum nisi", "description": "tempor esse dolor ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/aqmef4c/~1/~1/~0/VBJwNjYKI/~1/~1/sn4/-bte3X/~1/JPfZqPaecs" }, { "type": "encryption", "pointer": "/~0/~0/~0/p5CkP3NEz" }, { "type": "encryption", "pointer": "/KJ,/~0/Nq/~0" }, { "type": "encryption", "pointer": "/g09P" }, { "type": "encryption", "pointer": "/~0/h3R/C/~0/FKQ87-/ji/U1/~0/irS/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "proident dolor pariatur est sunt", "highlightString": "exercitation id sit deserunt" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "workflow_end" ], "complete": [ "e28f", "workflow_start" ], "error": [ "e28f", "3a1f", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "minim in voluptate culpa", "start_time": "1990-09-08T09:33:09.643Z", "end_time": -67149947.33985083, "finish_state": "success", "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 23969022, "delay": 87028182, "count": 21098778, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "5631badfd44758acec36bf6e", "default" ], "iterations": [ "cf1E8aF1-fAAa-FB60-8FfD-56D0b4F88dC1", "586c3A3b-F5A4-4b17-74BB-dAcd57fF843c" ] }, "6a": { "actor": "job", "groups": [ "default" ], "iterations": [], "x": 46465106.69261414, "y": 84024805.43418664, "gridCoordinate": { "x": -52428878.74179831, "y": -72694789.57802455 }, "name": "dolor", "location": "Broker", "locationType": null, "app": "laboris irure sunt aliqua", "canvasName": "childJob", "displayName": "tempor enim ut in sunt", "summary": "sed anim", "description": "dolor in cupidatat aliqua Ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/f/~0/~0" }, { "type": "encryption", "pointer": "/LUJdpaxu/~0/B96" }, { "type": "encryption", "pointer": "/Zd47y1C-W" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "eiusmod dolore nostrud", "highlightString": "exercitation minim ex Lorem" } ], "status": "complete", "previous": { "incomplete": [ "3a1f" ], "complete": [ "error_handler", "workflow_start", "e28f", "error_handler", "e28f" ], "error": [ "error_handler", "workflow_end", "error_handler", "3a1f", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ] }, "serverId": "magna dolore non ut", "start_time": "2019-07-21T11:35:40.264Z", "end_time": 75262796.90371269, "finish_state": "success", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": -14712460.56735161, "outgoing": [ null ] }, "childJobs": [ { "_id": "id est in", "name": "laboris ad est", "iteration": 79039111.68925983 }, { "_id": "ipsum", "name": "sit magna", "iteration": -67335986.29866706 }, { "_id": "reprehenderit", "name": "dolore", "iteration": 98821656.57200974 }, { "_id": "reprehenderit laboris nostrud deserunt", "name": "aliquip anim", "iteration": 85207708.78510514 } ] } }, "parent": { "task": "mollit non anim dolor", "iteration": 6085362.631629869, "element": 5704774.574116558 }, "errorHandler": null, "groups": [ { "_id": "b23303d4a66a1ac6e529d6ac", "provenance": "Lorem quis aute labore", "name": "sit", "description": "in", "memberOf": [ { "groupId": "4553bd66a1c49e1ec6991771", "aaaManaged": false }, { "groupId": "4c9b16e6d4d054173c7c32aa", "aaaManaged": true }, { "groupId": "fb17c9a6ca7944dcd18511af", "aaaManaged": true }, { "groupId": "3ffa3b64e8c735d4db31047c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore nostrud adipisicing" }, { "roleId": "eiusmod dolor sit nisi" }, { "roleId": "anim amet laboris cupidatat" } ], "inactive": false, "_meta": { "created": "1992-05-25T22:55:06.881Z", "updated": "1946-05-16T10:31:58.935Z", "migrationVersion": 56008848 } }, "a03e755c809e90ac9762c9bc" ], "watchers": [ null, "1a803be769886a62f76dfe30", "Pronghorn" ], "metrics": { "start_time": 11829258.70008424, "progress": 0.9413660996836244, "end_time": 50715511.96274826, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }