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": "description", "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": "05ebf7431872b9f5ef78e5ad", "font_size": 39134062, "type": "resource:compliance", "created": "1990-08-03T18:48:38.774Z", "last_updated": "1990-01-05T14:13:14.862Z", "createdVersion": "89719.446985952.861", "lastUpdatedVersion": "278225.342.233366", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -36623864, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 80546712.57210958, "sla": 84155599.05032763, "decorators": [ { "type": "encryption", "pointer": "/K19/U0fMh6d//~0/c,QfL/OOIewks/N1TMtcXv/~1/~1" }, { "type": "encryption", "pointer": "/tdbp7.LXLE/~0/~1/dIWqMNYc/RVegSI/SQDckiN/~0" }, { "type": "encryption", "pointer": "/~0/~1/mBgP/~0/~0/HoN/DzMSzV5/asOj/~1/~1" }, { "type": "encryption", "pointer": "/xiHaS" }, { "type": "encryption", "pointer": "/~0/WKzB/zhhE9x" } ], "status": "incomplete", "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": "workflow_start", "name": "myCoolDocumentName", "message": "ipsum enim ea dolor" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "laborum enim veniam aliqua" } ], "ancestors": null, "validationErrors": [ { "keyword": "in consectetur", "instancePath": "minim magna eiusmod consequat", "schemaPath": "non", "message": "officia labore in tempor" }, { "keyword": "esse dolore nulla dolor", "instancePath": "ut anim sed et est", "schemaPath": "occaecat", "message": "Duis nostrud" } ], "created_by": "3d8f0576329b7a6dc175c7fd", "last_updated_by": "c685f845c1bbee2b3ca3e9c3", "tasks": { "workflow_start": { "x": 84083885.9327119, "y": -23613714.020587564, "gridCoordinate": { "x": 66829203.89509696, "y": 63216486.4105207 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -55217692.20209447, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ { "_id": "f45b94b31ee6864dc7164109", "provenance": "minim qui", "name": "cillum reprehenderit", "description": "ad anim enim pariatur", "memberOf": [ { "groupId": "fc92d076e9e84283324fcb24", "aaaManaged": false }, { "groupId": "16740b6bed2768504d5e4de5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in ea dolore qui" }, { "roleId": "ad pariatur quis" }, { "roleId": "do quis enim deserunt" }, { "roleId": "proident in id velit ipsum" }, { "roleId": "ipsum aliqua enim tempor" } ], "inactive": true, "_meta": { "created": "2021-05-19T12:23:43.196Z", "updated": "1952-09-29T03:35:46.096Z", "migrationVersion": 35489305 } }, { "_id": "933f8352ef19cf4b0520f936", "provenance": "magna dolor officia do", "name": "nostrud Duis minim", "description": "occaecat ut esse sint incididunt", "memberOf": [ { "groupId": "a2df2678c4a5e07bd35758c5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt minim Duis" }, { "roleId": "deserunt" }, { "roleId": "ut id" }, { "roleId": "fugiat incididunt cillum mollit occaecat" }, { "roleId": "esse" } ], "inactive": true, "_meta": { "created": "2023-02-06T02:49:48.885Z", "updated": "1991-04-05T16:08:58.525Z", "migrationVersion": -15309856 } }, { "_id": "01e17d3b11a1ab7bbceab47b", "provenance": "cupidatat", "name": "enim Excepteur eu exercitation", "description": "sint", "memberOf": [ { "groupId": "7f24492cb24f0ae5bf8b198f", "aaaManaged": false }, { "groupId": "6d13768c3c7bf978f6226fa7", "aaaManaged": true }, { "groupId": "7066e74338b98250b579bf3a", "aaaManaged": false }, { "groupId": "82417b980524913bdaf9b9b4", "aaaManaged": false }, { "groupId": "2926967a2b1e7e6a377fd3ed", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "id velit nostrud" }, { "roleId": "occaecat dolore culpa ullamco" }, { "roleId": "ex in cupidatat" } ], "inactive": false, "_meta": { "created": "1962-07-06T07:36:20.716Z", "updated": "1979-03-07T19:27:37.317Z", "migrationVersion": -51681168 } } ], "iterations": [] }, "workflow_end": { "x": 35032396.13873106, "y": 53079979.4974969, "gridCoordinate": { "x": 42799696.003947526, "y": -12667028.121495962 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "3a1f" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": -95540523.47209968, "run_time": 36149615.66919917 }, "groups": [ { "_id": "5092dc0e55d1fe661b898154", "provenance": "aliqua esse proident", "name": "irure eu adipisicing eiusmod nisi", "description": "ut enim dolor officia Excepteur", "memberOf": [ { "groupId": "c34ce6f1f74f5867a8f4305b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat ut sed do" }, { "roleId": "qui laboris" } ], "inactive": false, "_meta": { "created": "2013-04-15T00:40:50.295Z", "updated": "1994-01-01T19:12:40.535Z", "migrationVersion": -87194511 } }, "default", "default" ], "iterations": [ "11622EDf-dDCd-eFAa-4938-0d001CE4ecAe" ] }, "error_handler": { "x": 52957263.72646764, "y": -97709487.15763712, "gridCoordinate": { "x": -84957314.4425849, "y": -10404977.607023373 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "enim esse fugiat ad", "canvasName": "velit in eiusmod", "displayName": "do enim qui Excepteur esse", "summary": "Lorem eiusmod occaecat nostrud", "description": "cupidatat ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "proident laboris ea", "highlightString": "amet non" }, { "key": "voluptate", "highlightString": "ex" }, { "key": "aute", "highlightString": "cillum ex consequat eu" }, { "key": "ad sed magna cillum", "highlightString": "non nisi" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler" ], "complete": [ "workflow_start", "workflow_end", "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "ipsum cupidatat incididunt", "start_time": "2019-09-15T11:02:48.84Z", "end_time": -92624791.60524331, "finish_state": "failure", "retrySettings": { "state": [ "failure", "success", "success" ], "autoRetry": false, "limit": 84623015, "delay": 68376546, "count": 70569325, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "ce4ffafbad4321e355e7dfb4" ], "iterations": [ "77e2dc85-B671-2CC9-b128-F1DFBB4cc72C", "5392cF2b-09D6-BdAE-A73e-7beD07cC5DaC" ] }, "a": { "actor": { "_id": "1a664b064b695f3fb2f71e74", "provenance": "minim officia laborum", "username": "fugiat ex veniam", "firstname": "nostrud consequat dolore in pariatur", "memberOf": [ { "groupId": "6873c4df252988c16c62544f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad magna in tempor minim" }, { "roleId": "sit incididunt" }, { "roleId": "consectetur" } ], "inactive": false, "lastLogin": "2009-10-09T21:26:02.634Z", "_meta": { "created": "1999-01-21T06:59:18.868Z", "updated": "1950-03-18T19:15:52.757Z", "migrationVersion": 46540287 }, "email": "Lorem Duis" }, "groups": [ "73f6ebfb03d476cd0b8f08b1", "829a9f96aa6d8201920488c5", { "_id": "ff9e7fd1aec021abf5049758", "provenance": "reprehenderit irure anim", "name": "ea tempor anim", "description": "commodo", "memberOf": [ { "groupId": "7e50fdf33d3e8bded85113a0", "aaaManaged": true }, { "groupId": "f7ef66d6bf7545aba19acc2a", "aaaManaged": true }, { "groupId": "6e8fa02fccc5322b9084da3d", "aaaManaged": false }, { "groupId": "f07d1d8e840cf8300ad5eff4", "aaaManaged": false }, { "groupId": "0f66057cd2dc731b5709ee50", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat laborum consectetur" }, { "roleId": "adipisicing" }, { "roleId": "cupidatat" }, { "roleId": "sint Lorem eiusmod id" } ], "inactive": true, "_meta": { "created": "1980-08-10T00:38:36.018Z", "updated": "1962-02-06T02:50:49.553Z", "migrationVersion": 11295106 } }, "default" ], "iterations": [ "24C502DB-7297-60c1-ce81-9dBfbCd47368" ], "x": -84816528.58547401, "y": 75377233.18901524, "gridCoordinate": { "x": 89137649.15941691, "y": 96692412.68431762 }, "name": "dolore quis ea", "location": "Broker", "locationType": null, "app": "labore dolor in", "canvasName": "sed sint irure", "displayName": "culpa in quis dolor", "summary": "quis deserunt ea culpa", "description": "anim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Q,1Z7j6/zCBXd,/B/x/~0/QD5CYAUO/ZhWvrwSd" }, { "type": "encryption", "pointer": "/zSWYKpRLy/~1/LC/IaPdMtpXSqy" }, { "type": "encryption", "pointer": "/Y/~0/~1/~1/qzuXkyL/~0/HWZocOiFn4C/h.lx/~0/~1/o" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "nisi cillum", "highlightString": "in reprehenderit deserunt" }, { "key": "non exercitation sed mollit", "highlightString": "ullamco consequat quis ut aliqua" }, { "key": "fugiat ex exercitation commodo", "highlightString": "aute Excepteur" }, { "key": "veniam cupidatat", "highlightString": "Lorem" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "workflow_end", "workflow_start" ], "complete": [ "e28f" ], "error": [ "workflow_start", "workflow_start", "error_handler" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "ex cupidatat magna ea", "start_time": "1963-03-03T01:37:52.028Z", "end_time": 54350271.8299444, "finish_state": "error", "retrySettings": { "state": [ "success", "failure", "success", "failure", "error" ], "autoRetry": false, "limit": 32164474, "delay": 83492900, "count": 559109, "finishedRetrying": false }, "type": "manual", "view": "enim" } }, "parent": { "job": "consequat", "task": "veniam eiusmod laborum reprehenderit incididunt", "iteration": -98741106.51151465, "element": 26866405.449667588 }, "errorHandler": null, "groups": [ "3dfccc9133d07ebb3f44494d", { "_id": "2efba103a06be5de543abc9c", "provenance": "elit non", "name": "minim ut sed", "description": "eiusmod id exercitation eu", "memberOf": [ { "groupId": "3118a79603e6e193fd3e6366", "aaaManaged": true }, { "groupId": "35b12ac8a3c754cd115bed5a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est" }, { "roleId": "dolore aliqua consequat dolore" }, { "roleId": "sunt dolore velit sed Lorem" }, { "roleId": "nostrud veniam" } ], "inactive": false, "_meta": { "created": "1988-01-03T06:18:56.335Z", "updated": "2014-08-29T08:27:45.689Z", "migrationVersion": 32005858 } }, { "_id": "0e6eb721c0223cede34eae10", "provenance": "veniam voluptate Lorem in est", "name": "eiusmod veniam", "description": "sed irure dolor", "memberOf": [ { "groupId": "b6163a3d5a968f1da49cce4e", "aaaManaged": true }, { "groupId": "69eb0d20c0d1225217f24b4e", "aaaManaged": true }, { "groupId": "ff10dd7a6331b9dbe2cfbc05", "aaaManaged": false }, { "groupId": "f58e5fa08a0c541e5756ec4b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor proident" }, { "roleId": "dolore ullamco ut" } ], "inactive": true, "_meta": { "created": "1990-04-03T00:47:51.285Z", "updated": "2009-09-07T08:09:56.42Z", "migrationVersion": 93811206 } }, "default" ], "watchers": [ "Pronghorn", "Pronghorn", null ], "metrics": { "start_time": 39440774.98320454, "progress": 0.24527540058515962, "end_time": -79140580.84856936, "user": { "_id": "dfbe1656957d59a83bc04224", "provenance": "Ut Duis cupidatat velit consequat", "username": "Excepteur", "firstname": "sint nisi pariatur et", "memberOf": [ { "groupId": "10a3ab02a897a44ebb1e9eeb", "aaaManaged": false }, { "groupId": "8d717ce6b7c39dfd841f29da", "aaaManaged": false }, { "groupId": "5345cff23aea57c2a0f8749a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit veniam ullamco" } ], "inactive": false, "lastLogin": "1985-02-15T06:08:54.387Z", "_meta": { "created": "1999-07-20T13:02:05.302Z", "updated": "1990-08-29T20:52:01.262Z", "migrationVersion": 62135105 }, "email": "ullamco Lorem laborum nostrud" }, "owner": "0e1c194f3a73523f17bc9fe8" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }