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": "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 created the requested item", "data": { "_id": "1238dc0887de408ffc2f76f6", "font_size": -98726596, "type": "resource:action", "created": "1946-01-23T16:25:26.709Z", "last_updated": "1977-03-03T14:09:39.22Z", "createdVersion": "677.236940559.590219952", "lastUpdatedVersion": "1810043105.19.5-3433.133351816.25383273332.396601213", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 30702822, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 86757863.69580668, "sla": 53931727.29027885, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/RUK,Sss6" }, { "type": "encryption", "pointer": "/es2A6Xo3-/i5SE,/AdWkFu" }, { "type": "encryption", "pointer": "/~1/C8poIRr6kk/~1/WUb1fPZp/byC/pP5N/Lvxj1hY29/~1/~0/a/cio7Kh" }, { "type": "encryption", "pointer": "/~0/nA-oTD2+yu/Q/Np2" }, { "type": "encryption", "pointer": "/x9jDW/~0/E7BZROv/~1/arz,ORvM/~0/n4vIV5Xt/B7,4Wc/vfX/L2f7y/W6,RuUMeIW/Ti8Efqv" } ], "status": "complete", "tags": [], "error": [ { "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": "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_end", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": [ "93038bbc607464f708a11ec4", "3c80ac087fd9c5cb723698a2", "feb3743e3f760c0e86d98b00", "170727533dc39688abaa94a1", "b96b5662a3f503730b58dc2b" ], "validationErrors": [ { "keyword": "velit in pariatur consequat", "dataPath": "ut elit sunt", "schemaPath": "reprehenderit cupidatat dolor", "message": "aliquip et" } ], "created_by": { "_id": "8d723bf0ceb74d9afb582391", "provenance": "sed minim aute veniam", "username": "veniam esse Duis et aliquip", "firstname": "voluptate sint eiusmod ad", "memberOf": [ { "groupId": "9336a51341a9c816ca2e0397", "aaaManaged": false }, { "groupId": "b7cc0af2e95ba11410c3b329", "aaaManaged": true }, { "groupId": "e3be776bb8497822d954e477", "aaaManaged": true }, { "groupId": "66f73099c38b40e5935f2e08", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim id" }, { "roleId": "aute sed Excepteur Duis nulla" }, { "roleId": "commodo minim ut velit voluptate" }, { "roleId": "est tempor magna reprehenderit Lorem" }, { "roleId": "nostrud Ut sunt exercitation quis" } ], "inactive": false, "lastLogin": "2011-04-14T05:11:14.534Z", "_meta": { "created": "1988-09-21T17:07:44.926Z", "updated": "1947-02-11T17:05:33.282Z", "migrationVersion": 54581183 }, "email": "occaecat commodo sed magna" }, "last_updated_by": "25ac07550ace4b38779c7b72", "tasks": { "6186": { "actor": "job", "groups": [ { "_id": "43ee8a77a4bfbae3b3c7aad8", "provenance": "consequat cupidatat laborum do in", "name": "ut amet quis eiusmod sunt", "description": "pariatur tempor esse Ut est", "memberOf": [ { "groupId": "e7d24dddb6d112229be5c801", "aaaManaged": true }, { "groupId": "7a3f7d9339dc4e81d34b7cff", "aaaManaged": false }, { "groupId": "a1f64b2f051fe77b5d034055", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt in elit" }, { "roleId": "proident anim" } ], "inactive": true, "_meta": { "created": "2018-06-10T05:20:11.371Z", "updated": "1974-01-11T05:21:06.641Z", "migrationVersion": 8326483 } }, "default", "default", "73fa7d5125326be84a290726" ], "iterations": [], "x": 98391487.98984557, "y": 98549065.15646467, "gridCoordinate": { "x": 81346121.38736129, "y": 9616351.109248951 }, "name": "pending", "summary": "sint qui minim ullamco", "description": "reprehenderit magna anim ipsum" }, "workflow_start": { "x": 99163903.41010627, "y": -53131178.36119163, "gridCoordinate": { "x": -56663914.924759194, "y": 95305336.42895657 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -40342335.46077926, "finish_state": "success", "user": "6662265da05f48daf4a65462" }, "groups": [ { "_id": "18c7bd3f2721a7222b47bfd8", "provenance": "ipsum", "name": "anim", "description": "ut", "memberOf": [ { "groupId": "c033d20944b1dc013f449ad6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ipsum commodo minim Excepteur aliqua" }, { "roleId": "proident elit nulla aute" }, { "roleId": "aliqua ad minim irure" } ], "inactive": false, "_meta": { "created": "1968-01-16T11:31:48.764Z", "updated": "1995-01-03T08:50:50.521Z", "migrationVersion": 73490925 } }, { "_id": "8b2ef69cbac1ace7aac86f37", "provenance": "nisi Lorem Ut nulla", "name": "culpa consequat in mollit proident", "description": "id do et minim cillum", "memberOf": [ { "groupId": "40df59bd6feb65a48775d0d6", "aaaManaged": false }, { "groupId": "9890cd0ca77c18415a677101", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "enim occaecat elit" }, { "roleId": "dolor dolore" }, { "roleId": "in ullamco irure quis velit" }, { "roleId": "consectetur nostrud aliqua" }, { "roleId": "cillum dolore magna" } ], "inactive": false, "_meta": { "created": "1970-02-21T17:54:33.574Z", "updated": "2022-03-05T13:08:17.815Z", "migrationVersion": -11745028 } } ], "iterations": [ "81deeE15-fFb5-8D6C-35CA-3b67680E0FbC" ] }, "workflow_end": { "x": 3455136.089816645, "y": -42884601.63372751, "gridCoordinate": { "x": 53958638.376237124, "y": 39821451.09848237 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_end", "error_handler", "e28f", "e28f" ], "error": [ "workflow_end", "workflow_start", "3a1f" ] }, "metrics": { "end_time": 95707561.2563239, "run_time": 50648135.14166847 }, "groups": [ { "_id": "f6b826f84b53835f7c0ca8ea", "provenance": "nisi Duis", "name": "Ut culpa", "description": "id minim ad", "memberOf": [ { "groupId": "191fe7afce62df08209e763b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in quis" }, { "roleId": "aliquip in laboris commodo cillum" }, { "roleId": "officia do consequat" }, { "roleId": "nulla ullamco fugiat" }, { "roleId": "in" } ], "inactive": false, "_meta": { "created": "2009-01-03T08:21:38.293Z", "updated": "1947-03-20T11:43:00.898Z", "migrationVersion": -34714686 } }, "default", "default", "default" ], "iterations": [ "3eb440fC-aDa8-fcfc-CdFe-BEebE3C7cceC" ] }, "error_handler": { "x": -4580730.207802877, "y": 90257280.4023245, "gridCoordinate": { "x": 23015627.60230604, "y": -78611792.03209728 }, "name": "childJob", "location": "Adapter", "locationType": "magna id", "app": "Lorem nulla aliqua", "canvasName": "voluptate est aliqua", "displayName": "ex dolore sunt sint qui", "summary": "laboris Lorem", "description": "labore pariatur laboris", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/N/PqUwMWLV/rs" }, { "type": "encryption", "pointer": "/~0/~1/~0/kdPZ/AM8f7ATFs/~1" }, { "type": "encryption", "pointer": "/kD2R/uK2bB" }, { "type": "encryption", "pointer": "/~1/~0/~0/~0/~1/TdW5j2/EU/FqtVQc/~0/stjHFZA/LRqKX1/" }, { "type": "encryption", "pointer": "/WZu/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "fugiat non velit id", "highlightString": "Excepteur cupidatat" }, { "key": "magna anim labore", "highlightString": "ut esse nulla eu qui" }, { "key": "dolore irure enim sunt", "highlightString": "ea" }, { "key": "minim culpa Duis magna nulla", "highlightString": "cillum" }, { "key": "aliquip nisi", "highlightString": "est non nulla sed Duis" } ], "status": "complete", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_end", "workflow_start", "e28f" ], "error": [ "error_handler", "e28f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "nisi laboris dolore", "start_time": "2016-03-28T18:41:50.311Z", "end_time": 88484471.91522205, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "477cc405cbfd98c57b5cd123", "478f302c88ede7f38c88f202", { "_id": "2d83e1c58defee23ced0e375", "provenance": "labore nostrud", "name": "dolor", "description": "proident ea ut qui fugiat", "memberOf": [ { "groupId": "207aebcb5ce11d418f50d920", "aaaManaged": true }, { "groupId": "e925674f5e3ab8ddedb6266c", "aaaManaged": true }, { "groupId": "24a14a11b836f0e04bd3daee", "aaaManaged": true }, { "groupId": "9f7f153e37c260b5fb54d70c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse deserunt" }, { "roleId": "Excepteur labore ad eiusmod exercitation" }, { "roleId": "quis enim exercitation" } ], "inactive": false, "_meta": { "created": "1996-10-05T10:06:15.834Z", "updated": "1989-04-24T07:02:21.252Z", "migrationVersion": 15411889 } }, "94a8abb30224dbb28e7cfe74", "default" ], "iterations": [ "7ECbF358-EeC9-E78E-08f3-014aaA119Bcd", "83B8EaAd-78fb-f75e-b3cf-DE82bEfFAf03" ] } }, "parent": { "task": "dolor", "iteration": 78248146.17960283, "element": -47511257.39169919 }, "errorHandler": null, "groups": [ "ef2c15c1c3969d279d016fa2", { "_id": "bf957b1ef87f35a00202021e", "provenance": "ut eu fugiat in commodo", "name": "sint elit", "description": "ipsum id nostrud aliqua elit", "memberOf": [ { "groupId": "fbb413a592ccf3e920850571", "aaaManaged": false }, { "groupId": "cdd31098a7ae18432fcabfaa", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip pariatur cillum fugiat" }, { "roleId": "Excepteur laboris adipisicing id" } ], "inactive": true, "_meta": { "created": "2019-02-14T16:44:16.189Z", "updated": "1976-10-29T17:33:59.685Z", "migrationVersion": 16782288 } } ], "watchers": [ null ], "metrics": { "start_time": 87670026.58586729, "progress": 0.46391741842466194, "end_time": 9238028.213651806, "user": { "_id": "1fecf5a6b5323f36fccaafdf", "provenance": "in sit", "username": "ex ad", "firstname": "ut amet", "memberOf": [ { "groupId": "8fa59b5965c85e008ccbbb35", "aaaManaged": true }, { "groupId": "5a7de414cc2fbe0b8fecc4bc", "aaaManaged": false }, { "groupId": "efc9ae266d97aadb37753970", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla occaecat eu dolor" }, { "roleId": "ut" }, { "roleId": "Lorem minim adipisicing id aliqua" } ], "inactive": false, "lastLogin": "1982-07-02T04:34:10.59Z", "_meta": { "created": "1957-06-30T13:00:05.811Z", "updated": "1955-08-03T20:57:05.799Z", "migrationVersion": 64358991 }, "email": "pariatur" }, "owner": "7732669f8edd80d8d847125e" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }