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": "description", "exclude": "_id", "dereference": "accounts.createdBy" } }
{ "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 created the requested item", "data": { "_id": "5a1c86fe8eb8c52bfd6ec876", "font_size": 92107558, "type": "resource:action", "created": "2011-04-16T07:37:19.905Z", "last_updated": "2011-06-20T10:54:38.164Z", "createdVersion": "8714561.528352691.6422768501", "lastUpdatedVersion": "6115603.3796.94009-5779.4150.52001213", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 26110808, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -81339805.68338175, "sla": -1734517.5524613708, "decorators": [ { "type": "encryption", "pointer": "/sC/yZf4iL" } ], "status": "error", "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": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "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": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "deserunt magna tempor proident" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "velit tempor", "dataPath": "do aliquip Duis elit", "schemaPath": "labore Lorem ullamco cupidatat", "message": "reprehenderit occaecat minim consequat" }, { "keyword": "voluptate", "dataPath": "reprehenderit in esse deserunt consectetur", "schemaPath": "Ut ut nulla", "message": "quis ut" }, { "keyword": "anim", "dataPath": "ut sint ipsum velit in", "schemaPath": "ipsum", "message": "cupidatat officia" }, { "keyword": "adipisicing Lorem", "dataPath": "velit labore est dolor", "schemaPath": "ut Excepteur", "message": "commodo" } ], "created_by": null, "last_updated_by": "05330e6b185d6fa4f0c46747", "tasks": { "571": { "x": 9362196.261184156, "y": -83678990.80229844, "gridCoordinate": { "x": -87278709.48818298, "y": -41449439.43002493 }, "name": "ut officia aliquip ea ullamco", "location": "Adapter", "locationType": null, "app": "aute et", "canvasName": "deserunt ad labore fugiat", "displayName": "consectetur qui ut", "summary": "cupidatat", "description": "aliqua irure ex", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/mew./EKqGk/~1/Y3Uu6/~0" }, { "type": "encryption", "pointer": "/aI/BzI/hs/~0/XTpV/ob/~1" }, { "type": "encryption", "pointer": "/lcWzb3gsi/x/bV05tk5dFEV/L0Zr/SR/Cqk,6/GyoGLPm" }, { "type": "encryption", "pointer": "/y+jWY4/lx,T/mXi0uzG" }, { "type": "encryption", "pointer": "/~1/~0/W/UNw5" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "cillum", "highlightString": "do quis sed eu" }, { "key": "id", "highlightString": "adipisicing labore officia laboris ullamco" }, { "key": "cillum in", "highlightString": "deserunt ullamco cupidatat" }, { "key": "exercitation labore", "highlightString": "culpa nulla quis dolore" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "3a1f" ], "complete": [ "workflow_start", "workflow_start", "workflow_start", "e28f", "error_handler" ], "error": [ "workflow_start", "3a1f", "error_handler", "workflow_end", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "eiusmod proident ad", "start_time": "1980-06-21T14:28:30.547Z", "end_time": 91877476.04894745, "finish_state": "failure", "retrySettings": { "state": [ "failure", "error", "failure" ], "autoRetry": true, "limit": 81498555, "delay": 35421580, "count": 20386596, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ "86dfcc6ee2335645270d3643", "7a4b97b38f81aabf037ddb88", { "_id": "10652888c4ee9e082cabdb98", "provenance": "amet quis ex elit", "name": "ad in quis dolore ullamco", "description": "labore proident dolore non", "memberOf": [ { "groupId": "bc65dd6cf0b290465e716901", "aaaManaged": true }, { "groupId": "46c08056b4ccf36d109abaed", "aaaManaged": true }, { "groupId": "c33de9af377b042c89ea774e", "aaaManaged": false }, { "groupId": "d839645e5b942db13fa6dada", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim ad id" }, { "roleId": "aute fugiat" } ], "inactive": true, "_meta": { "created": "1947-04-23T11:09:32.074Z", "updated": "2018-07-22T23:44:55.717Z", "migrationVersion": -41670131 } }, "default", "8a98230f1116799822b745b5" ], "iterations": [ "EFdbcA88-B74C-0Ebd-4944-BcC9D87B89f7" ] }, "workflow_start": { "x": 37702377.68401402, "y": -28705246.295872703, "gridCoordinate": { "x": 40364336.18456662, "y": -95962323.51266694 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -26512394.616959423, "finish_state": "error", "user": { "_id": "fb83b00a719fba1b1e190015", "provenance": "nisi", "username": "dolor laborum eiusmod", "firstname": "magna dolor cillum officia eiusmod", "memberOf": [ { "groupId": "8d15734e8b415c03c680b061", "aaaManaged": false }, { "groupId": "af3ab97636ab0d79e148e6e4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut dolor cupidatat do deserunt" }, { "roleId": "et aliqua id Excepteur" }, { "roleId": "aute" } ], "inactive": false, "lastLogin": "2018-01-16T15:12:29.838Z", "_meta": { "created": "2019-05-14T23:59:14.202Z", "updated": "2011-07-22T21:34:30.712Z", "migrationVersion": 79055231 }, "email": "consectetur ea irure" } }, "groups": [ "6d22767c9dc852ec186267bd", { "_id": "942c926d091c2755042a92cb", "provenance": "mollit", "name": "non in dolor amet", "description": "reprehenderit ipsum", "memberOf": [ { "groupId": "f2751a6ff29bd53d5f8c2301", "aaaManaged": true }, { "groupId": "10c86c5d949a961341881577", "aaaManaged": false }, { "groupId": "0adb0e01cbdadadd37572a6c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident" }, { "roleId": "ex" }, { "roleId": "dolor quis" }, { "roleId": "qui cupidatat commodo amet" } ], "inactive": true, "_meta": { "created": "2017-07-09T07:15:35.181Z", "updated": "1949-10-02T08:18:21.5Z", "migrationVersion": 36414578 } } ], "iterations": [ "2b024fF1-fd72-3AFB-b2F5-EE1849CEdDD2", "5dBBED3c-6bD7-1f07-3bEe-D059a0bc4612", "FE68f21F-3D0A-462D-C2f1-A25C8Fa2dF7E" ] }, "workflow_end": { "x": -49449254.93703516, "y": -79575321.56709686, "gridCoordinate": { "x": -88525170.46728821, "y": -16203704.662145317 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_end", "e28f", "workflow_start", "workflow_end" ], "complete": [ "e28f", "3a1f" ], "error": [ "workflow_end", "workflow_end" ] }, "metrics": { "end_time": -68672146.66847299, "run_time": 40488815.62947321 }, "groups": [ "89ab59d9c285d001dba9713c", { "_id": "2bdbb5697e0a49a3e72a24aa", "provenance": "in", "name": "Duis occaecat velit qui sed", "description": "in reprehenderit", "memberOf": [ { "groupId": "be9573580ca37ba3404c2614", "aaaManaged": false }, { "groupId": "95f03d7e1f9eae222c8a5379", "aaaManaged": false }, { "groupId": "07f4672ca70904bd4f50133f", "aaaManaged": true }, { "groupId": "b36cc0ed8c4f91e6d10522af", "aaaManaged": true }, { "groupId": "34676eed3164183d0d28812e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod dolore mollit sint" }, { "roleId": "adipisicing magna occaecat velit" }, { "roleId": "cillum quis" }, { "roleId": "Ut" }, { "roleId": "adipisicing sint" } ], "inactive": true, "_meta": { "created": "1970-04-26T09:24:35.043Z", "updated": "2003-12-01T00:42:01.712Z", "migrationVersion": 60156114 } }, { "_id": "d114ed52340644b55995868a", "provenance": "veniam Ut irure", "name": "cillum velit minim", "description": "reprehenderit eiusmod sunt quis ex", "memberOf": [ { "groupId": "77c61498d2282d01c89c071a", "aaaManaged": false }, { "groupId": "a0cf6e4dec4c9b292514035a", "aaaManaged": true }, { "groupId": "5ab0375fa869414e05b595a0", "aaaManaged": false }, { "groupId": "b2147bbe252e9bd8317d73d9", "aaaManaged": false }, { "groupId": "889f0a622f99bbe3a99d8451", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua dolore" } ], "inactive": false, "_meta": { "created": "1973-03-01T18:58:59.176Z", "updated": "2019-03-10T12:54:22.769Z", "migrationVersion": -32717774 } }, "1c6457e0f5cf74c8c14362a2", { "_id": "5b3b06a61bc9e6464a592770", "provenance": "ut in sunt laboris sed", "name": "incididunt officia in Lorem proident", "description": "incididunt deserunt cillum", "memberOf": [ { "groupId": "5fc3e4874f5858e1bb65a3e3", "aaaManaged": false }, { "groupId": "8aaf65de2e454f2fdd323772", "aaaManaged": true }, { "groupId": "f73338a9fd780ed78a6bb75d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ullamco ut sunt proident" } ], "inactive": false, "_meta": { "created": "1970-12-21T14:29:06.975Z", "updated": "1969-06-11T00:51:51.654Z", "migrationVersion": 54058260 } } ], "iterations": [ "d6596c99-41c1-8D42-3387-2c0a9aB5dFbA", "EeAACfa4-D205-F8a8-b57e-a09ab1bfbDB9" ] }, "error_handler": { "x": 88306435.8174834, "y": -67321775.87761274, "gridCoordinate": { "x": 45909683.653163135, "y": -94549281.748951 }, "name": "childJob", "location": "Application", "locationType": "ut", "app": "nostrud eu veniam", "canvasName": "minim in nostrud", "displayName": "dolor commodo cillum sed dolore", "summary": "tempor laborum mollit", "description": "quis deserunt anim sed est", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/Fi/S/0s.shXL0/~0/~1/~1/~1/H7lk-/~0/~1/eau6bIOT5xA" }, { "type": "encryption", "pointer": "/leqrE,cep/~1" }, { "type": "encryption", "pointer": "/dX/G.syMa/~0/~1/f0dli/~0/uR5Bd4g1+Y3/~0" }, { "type": "encryption", "pointer": "/MG/~1/QZRZ2g5/WYK/g2W/zmp.IN.6up/v-QVo+6gC/8/gom1UHG/CIIR" }, { "type": "encryption", "pointer": "/~1/~0/Job-DT+S" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "qui non ex elit aute", "highlightString": "eiusmod dolore Excepteur Ut" }, { "key": "esse aliqua dolor", "highlightString": "voluptate ullamco elit sit ex" }, { "key": "qui", "highlightString": "Ut proident" }, { "key": "voluptate ex amet", "highlightString": "Excepteur amet Duis ex" }, { "key": "deserunt nostrud", "highlightString": "non velit do" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "workflow_end" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "dolor in est", "start_time": "2010-01-05T13:34:04.263Z", "end_time": 36012009.66244176, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "f187539704074ef0bb5048c3", "2e16187c9bcedc78b62c3957" ], "iterations": [ "80603bF8-9CFf-7D1d-C5b3-fCfcefc80F2f" ] } }, "parent": { "job": "pariatur", "task": "aute ipsum voluptate est", "iteration": 21211193.187431604, "element": -12722495.865430132 }, "errorHandler": null, "groups": [ "default", "366e168f2c9ba076683723fc", "d8321550703c559eade7e6c4", "042c491e2e5267c30adce7ae", "default" ], "watchers": [ "Pronghorn", "d24093752d7d8846078c944e", "e73f28521ea9e641772de27f", "7c4034b3f98960a508931848" ], "metrics": { "start_time": 13764033.546773687, "progress": 0.8631020616883953, "end_time": -81286478.7822198, "user": { "_id": "aa20459199260e851196d284", "provenance": "laborum commodo mollit", "username": "ut do culpa sunt", "firstname": "est sunt ut sed ea", "memberOf": [ { "groupId": "8313ebc7ab3b2a2e18a721d3", "aaaManaged": false }, { "groupId": "ac34d6cc43b98cad7fd6d629", "aaaManaged": false }, { "groupId": "8d7653b62627f75dbcfe9065", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud" }, { "roleId": "velit" } ], "inactive": true, "lastLogin": "1983-07-10T12:42:47.017Z", "_meta": { "created": "2008-06-25T17:00:44.683Z", "updated": "1989-09-03T18:58:19.229Z", "migrationVersion": 43433225 }, "email": "exercitation enim irure" }, "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }