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", "exclude": "description", "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": "f7bb052be8b7b75413d455b3", "font_size": -31490448, "type": "resource:action", "created": "1954-02-07T20:48:48.574Z", "last_updated": "1959-11-20T16:08:23.595Z", "createdVersion": "184412.3674122604.8065-1560.2110.16", "lastUpdatedVersion": "24503426.43477.4301637-2570.8.417235333", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -55960055, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 45250084.35295904, "sla": -96808421.75429678, "decorators": [ { "type": "encryption", "pointer": "/B/~0/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0/QKZeC9km/nu/MucgMiQrra./gwq,SYfp8/qtn2Pm1J+/~1/~1" }, { "type": "encryption", "pointer": "/EALjjJTiYr/~0/DoU/r/~1/HTzg3cUx6m3/sAn3LG/~0/beIdFM0/~1/~0/nzGGH7yTV9" }, { "type": "encryption", "pointer": "/~0/moR25O/~0/mG4EVz/IzHFFD/Ob,E.zu+./~0/SA5tp/FofE" } ], "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName", "message": "eu in et qui sunt" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "ipsum" } ], "ancestors": [ "00b32dbe92dce85efe41dc9c" ], "validationErrors": [ { "keyword": "veniam", "dataPath": "dolore labore pariatur", "schemaPath": "et tempor ad do", "message": "irure culpa ea nostrud" }, { "keyword": "magna eiusmod cupidatat", "dataPath": "consectetur ut", "schemaPath": "exercitation", "message": "aute" } ], "created_by": { "_id": "e40dbcc0e576178edf4e0379", "provenance": "reprehenderit qui", "username": "eu", "firstname": "consequat sunt culpa ut", "memberOf": [ { "groupId": "d06555e487e015429f68a438", "aaaManaged": false }, { "groupId": "6f01b717970c4ea77e1ac9de", "aaaManaged": true }, { "groupId": "7d6f232ca0e2ac9b85219846", "aaaManaged": false }, { "groupId": "cd9b5cec5ff98c45a93dec9b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "deserunt" } ], "inactive": false, "lastLogin": "1975-07-10T20:13:18.469Z", "_meta": { "created": "1947-04-30T22:09:44.795Z", "updated": "1999-05-21T22:32:38.687Z", "migrationVersion": -99168571 }, "email": "sunt ex ea dolor" }, "last_updated_by": "8855c6061bb3839bb5b9f56f", "tasks": { "48": { "actor": "job", "groups": [ { "_id": "1feda0912fd3f0e449a6b586", "provenance": "fugiat ea consectetur", "name": "est proident ut", "description": "minim consectetur", "memberOf": [ { "groupId": "60398e75f1ecb95cbe0a397a", "aaaManaged": true }, { "groupId": "1cf67b9a48d06a63d9463aee", "aaaManaged": true }, { "groupId": "60e6fdf766649bd303973a3f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut" } ], "inactive": false, "_meta": { "created": "2007-11-16T08:01:13.938Z", "updated": "1956-06-23T01:31:31.954Z", "migrationVersion": -37405808 } }, "486e044f4e9da8fd724eda6a", "default" ], "iterations": [ "AEb2A7B3-8f55-a07e-2fA2-17EcfA1BDeDF" ], "x": 50963064.354174405, "y": -34955086.050164886, "gridCoordinate": { "x": -24970133.057797477, "y": -73907807.95678857 }, "name": "Excepteur in veniam", "location": "Adapter", "locationType": null, "app": "Lorem irure nostrud", "canvasName": "id in", "displayName": "in esse nostrud laboris", "summary": "est dolore fugiat Ut incididunt", "description": "deserunt dolore do ea", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/KAEF7a/~1/HqBsb1/LKo5/~0/KpkB/aHqtQJru/V/FSJWcnH/~0/sR6zJfLh" }, { "type": "encryption", "pointer": "/TQ+sLOdLErk" }, { "type": "encryption", "pointer": "/V8/~0/ZGOi9Rbvs1t" }, { "type": "encryption", "pointer": "/eB" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ad ut ullamco eu in", "highlightString": "id mollit laboris" }, { "key": "adipisicing proident", "highlightString": "culpa ea aute ipsum" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "3a1f", "e28f" ], "complete": [ "workflow_end", "3a1f", "e28f", "3a1f", "workflow_start" ], "error": [ "error_handler", "workflow_start", "3a1f", "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "standard" } ] }, "serverId": "reprehenderit magna veniam dolor", "start_time": "1953-05-07T18:28:15.405Z", "end_time": 35113349.55419287, "finish_state": "error", "retrySettings": { "state": [ "success", "success", "failure", "error", "failure" ], "autoRetry": true, "limit": 75714131, "delay": 92626078, "count": 76656078, "finishedRetrying": true }, "type": "automatic" }, "workflow_start": { "x": 99155351.66262197, "y": -63263814.80772478, "gridCoordinate": { "x": 66820949.82112354, "y": -24744970.97561024 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 4719994.418210313, "finish_state": "error", "user": "543753cc93740914214d956e" }, "groups": [ { "_id": "48a2cc7dbc460532a9a7a993", "provenance": "dolor mollit Excepteur", "name": "commodo incididunt Ut", "description": "adipisicing mollit dolore labore Excepteur", "memberOf": [ { "groupId": "07da48354267b7ed4de17546", "aaaManaged": false }, { "groupId": "f023e2323471d2135712a1e8", "aaaManaged": true }, { "groupId": "ec10662168eb8af53eedff4b", "aaaManaged": true }, { "groupId": "ce6a5b3148269852102e2897", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed" }, { "roleId": "commodo enim" }, { "roleId": "voluptate sunt ipsum" }, { "roleId": "aliqua in incididunt culpa pariatur" } ], "inactive": true, "_meta": { "created": "1961-10-27T13:35:13.776Z", "updated": "1961-04-25T14:24:31.418Z", "migrationVersion": 41534965 } }, "da1c06a5aaa18fc74778389f", "77057824755b1f84b254564b", "d51318786df814837bee84f4", "default" ], "iterations": [ "cDa112BB-E252-b492-f7Da-cA8f6CaD62df", "2066EE8a-8230-d741-2719-ff099dcE92fE", "389b1Bb1-825d-EfCb-3FE5-Dd6b8F7E86c2" ] }, "workflow_end": { "x": -502375.70701029897, "y": 10677775.66186802, "gridCoordinate": { "x": -9526900.609314248, "y": 91637168.90922663 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler", "error_handler" ], "complete": [ "workflow_start", "workflow_end" ], "error": [ "workflow_start", "workflow_start", "3a1f" ] }, "metrics": { "end_time": -52258059.61670629, "run_time": 86337711.94555631 }, "groups": [ "default", "default", "ee339eb6a3b9a96d13400a78" ], "iterations": [ "06C7f1Cc-5FAD-7c8B-7ADf-FE88DCcBa8BC" ] }, "error_handler": { "x": 11905851.09080398, "y": -99338885.60178378, "gridCoordinate": { "x": 40714914.02187616, "y": -88245439.26152092 }, "name": "childJob", "location": "Application", "locationType": null, "app": "sint", "canvasName": "officia ad magna quis", "displayName": "ex deserunt ipsum", "summary": "mollit velit reprehenderit", "description": "dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/P" }, { "type": "encryption", "pointer": "/~1/wlMDuhg" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "velit sunt adipisicing", "highlightString": "sit non culpa et" }, { "key": "fugiat amet officia culpa quis", "highlightString": "Lorem dolor anim ut" }, { "key": "ad fugiat et nulla", "highlightString": "reprehenderit nostrud elit" }, { "key": "eu esse cillum", "highlightString": "enim Ut deserunt sed sunt" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end", "error_handler" ], "complete": [ "workflow_end", "workflow_end", "3a1f", "workflow_end", "workflow_start" ], "error": [ "e28f", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "pariatur eu magna", "start_time": "2019-08-24T09:36:43.381Z", "end_time": -31571092.535823822, "finish_state": "failure", "retrySettings": { "state": [ "error", "error", "error" ], "autoRetry": true, "limit": 31378159, "delay": 99539296, "count": 5271096, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "23198fdeb4457406779f534d", "provenance": "labore Duis sunt et consequat", "username": "sunt aute", "firstname": "sint et dolor", "memberOf": [ { "groupId": "fc8c23c93f3255fa1070df37", "aaaManaged": true }, { "groupId": "d0964017d5875ac77ae0a881", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris irure deserunt" } ], "inactive": true, "lastLogin": "1971-07-14T23:42:49.771Z", "_meta": { "created": "1989-05-11T02:00:57.027Z", "updated": "2014-08-11T16:09:12.637Z", "migrationVersion": -18561191 }, "email": "ipsum" }, "groups": [ { "_id": "5f3bcde7d9b7de98e67d2f70", "provenance": "elit", "name": "Ut", "description": "sit aliqua labore ut irure", "memberOf": [ { "groupId": "8b7f2b82e35ebb438ff82001", "aaaManaged": false }, { "groupId": "a8d2bcd263bd69db92f43eaf", "aaaManaged": false }, { "groupId": "f89c2a9f3766ef1935d02303", "aaaManaged": true }, { "groupId": "2cb6cba4ea523467849c90b8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia ex" }, { "roleId": "eiusmod" }, { "roleId": "cillum ut culpa reprehenderit" } ], "inactive": true, "_meta": { "created": "1980-10-01T00:59:23.464Z", "updated": "1950-08-30T10:31:40.264Z", "migrationVersion": -7794880 } }, { "_id": "56c3ad1a2328a2d70584afe0", "provenance": "sit aliqua mollit", "name": "pariatur", "description": "dolor ad do", "memberOf": [ { "groupId": "43df4d5687ea616da65603f1", "aaaManaged": true }, { "groupId": "3660c28b1dcf63a8ee28294a", "aaaManaged": true }, { "groupId": "c1e4e7b55e558fb2e47de825", "aaaManaged": true }, { "groupId": "7e93ca92eb6e2eb26ae8ce1b", "aaaManaged": false }, { "groupId": "d594b5ac278b99b23363d751", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut sed" } ], "inactive": true, "_meta": { "created": "2019-08-29T19:17:25.343Z", "updated": "1963-02-25T17:28:31.339Z", "migrationVersion": 28951395 } }, { "_id": "f10609e8ff704b01bdf67541", "provenance": "nulla do esse", "name": "sit exercitation", "description": "eiusmod exercitation do", "memberOf": [ { "groupId": "7c974893876aa4c634039d52", "aaaManaged": true }, { "groupId": "a8ff9bd1e760002778b49746", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur in" }, { "roleId": "fugiat ea culpa ut" }, { "roleId": "ut" } ], "inactive": true, "_meta": { "created": "1963-04-10T03:13:13.901Z", "updated": "2002-12-03T14:18:01.278Z", "migrationVersion": 83826862 } } ], "iterations": [] } }, "parent": { "task": "cillum", "iteration": -21602890.876729175, "element": -53194885.085844 }, "errorHandler": { "actor": "$var.f37.S96jHV", "groups": [ "default", { "_id": "f02e1af91599555fc2197915", "provenance": "sit proident", "name": "aliqua sunt", "description": "in enim", "memberOf": [ { "groupId": "8497d7be28119d20690edcef", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum culpa dolore eiusmod est" }, { "roleId": "consectetur exercitation labore elit" } ], "inactive": false, "_meta": { "created": "1994-01-13T19:36:07.794Z", "updated": "1989-08-24T12:33:45.725Z", "migrationVersion": -26083868 } }, { "_id": "04fce6a3e23b00d2062fd417", "provenance": "Lorem sit dolor", "name": "minim cillum exercitation esse Lorem", "description": "voluptate reprehenderit elit", "memberOf": [ { "groupId": "04f55086eb5f466f85107088", "aaaManaged": true }, { "groupId": "7cfe883409770fb08260755f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut sint" } ], "inactive": false, "_meta": { "created": "1985-10-15T06:32:52.209Z", "updated": "2005-07-08T22:45:31.329Z", "migrationVersion": 43060554 } } ], "iterations": [ "67eBE8FF-5f59-736C-cbcA-7327cC1EC7b2" ], "x": -7030203.628243566, "y": 66770952.69963783, "gridCoordinate": { "x": -15061333.058297202, "y": 14953551.46606201 }, "name": "ipsum", "location": "Application", "locationType": null, "app": "Lorem", "canvasName": "eiusmod voluptate", "displayName": "laboris cupidatat commodo est", "summary": "velit officia proident Lorem ut", "description": "et ad Excepteur nostrud pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/tvZtfHwhyLy/ewk" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in", "highlightString": "ut do culpa elit est" }, { "key": "ex", "highlightString": "nostrud ut ex" }, { "key": "sit consequat dolore do ex", "highlightString": "sit ut aliquip Lorem" }, { "key": "labore", "highlightString": "nostrud non est occaecat nulla" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "error_handler", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "workflow_end", "e28f", "workflow_start" ], "error": [ "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "commodo", "start_time": "1948-07-23T19:58:22.014Z", "end_time": 49987449.91107583, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "groups": [ { "_id": "39e3f69c297cec941c927ee0", "provenance": "laborum sit eiusmod Excepteur", "name": "nostrud dolor velit sit", "description": "qui", "memberOf": [ { "groupId": "4a77295eb870155ebc91fcb0", "aaaManaged": false }, { "groupId": "2f948ae96d5a3154026f7c07", "aaaManaged": true }, { "groupId": "d5d291d2febaa4a895b30b97", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "elit qui occaecat aute" }, { "roleId": "id nulla ipsum commodo" }, { "roleId": "Ut nulla" }, { "roleId": "irure consectetur ad sunt" } ], "inactive": true, "_meta": { "created": "2019-09-23T07:50:25.545Z", "updated": "1953-05-16T01:58:24.531Z", "migrationVersion": 6174456 } }, "default", { "_id": "5d82923c60553e3351f8b65d", "provenance": "in sit laborum", "name": "cillum mollit ullamco et adipisicing", "description": "dolor nulla cillum", "memberOf": [ { "groupId": "48f6f9ace281f1424457d0e1", "aaaManaged": false }, { "groupId": "9b89f89aa8c48b96cf53ec89", "aaaManaged": true }, { "groupId": "22124fb02d94e4eed6a1a230", "aaaManaged": true }, { "groupId": "4ecdafd43d41d53c2570f4e9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut proident magna voluptate" }, { "roleId": "id Ut qui" }, { "roleId": "velit officia" } ], "inactive": false, "_meta": { "created": "2024-06-11T23:17:47.831Z", "updated": "1956-04-21T11:38:59.685Z", "migrationVersion": -15793140 } }, "default" ], "watchers": [ "db2a411749ffcf207928c0f0", null, null, { "_id": "66b169ac3621e210faacecc4", "provenance": "ut irure dolor eiusmod culpa", "username": "id dolor Ut", "firstname": "elit dolore esse voluptate", "memberOf": [ { "groupId": "72866ab88f97871c71405b3f", "aaaManaged": true }, { "groupId": "283ad068644646b8bdf11dfb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad commodo nulla" }, { "roleId": "mollit commodo" } ], "inactive": false, "lastLogin": "1995-07-11T17:59:21.711Z", "_meta": { "created": "1995-01-14T11:29:47.925Z", "updated": "2015-10-17T17:50:59.073Z", "migrationVersion": 25928375 }, "email": "amet ut" } ], "metrics": { "start_time": 73173304.22174898, "progress": 0.7598586300604004, "end_time": 20874798.818561137, "user": "Pronghorn", "owner": "b8a64c43293d9a2e93a7413b" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }