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 imported 3 of 4 documents", "data": { "_id": "19286d7d05c0908c9fe2d0e8", "uuid": "13d0492e-7f4c-f6af-9848-5f2a39d2060f", "font_size": 44163926, "type": "resource:compliance", "created": "2014-10-28T05:44:39.405Z", "last_updated": "2019-03-31T00:29:57.895Z", "createdVersion": "8743.08521768.473483-1801.3145108.1696.0631842101", "lastUpdatedVersion": "660249053.0708.1710883279-1912.39172759982.2668.602383656", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 99405928, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 22217824.440642536, "sla": 29861939.169631764, "decorators": [ { "type": "encryption", "pointer": "/~1/zHJvY,7JND/~0/~0/u/Znx,tv/dH7oe/~1" } ], "status": "complete", "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "nisi enim anim" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "nisi veniam" } ], "ancestors": null, "validationErrors": [ { "keyword": "in adipisicing", "instancePath": "irure magna proident aliquip", "schemaPath": "tempor dolor officia", "message": "dolore" }, { "keyword": "esse dolore exercitation est", "instancePath": "ea ad sunt officia", "schemaPath": "cupidatat proident amet", "message": "in aute sunt ex exercitation" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": 90438243.1908009, "y": 32122708.73354748, "gridCoordinate": { "x": -15024618.869465023, "y": 8036707.617315337 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -82194042.45159025, "finish_state": "failure", "user": "cf0b47d842784ec23daa5c72" }, "groups": [ "default" ], "iterations": [ "10A5257a-B46B-eAf4-aCb5-1F1E7DFe16E7", "27CBc3dF-0d44-f88b-cae2-b93E8Ef96099", "01BEE233-BBC2-5BA4-A2d3-aA7714CaCa66" ] }, "workflow_end": { "x": 75624068.37488815, "y": -87984521.10791248, "gridCoordinate": { "x": 7773945.900500894, "y": -47443561.90441796 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "error_handler", "workflow_start" ], "complete": [ "e28f", "error_handler", "workflow_start" ], "error": [ "workflow_start", "error_handler", "workflow_end", "error_handler", "workflow_start" ] }, "metrics": { "end_time": 60401386.23101291, "run_time": -11088572.17731911 }, "groups": [ { "_id": "6a7c310094e02eedbe09c5a1", "provenance": "dolore", "name": "mollit", "description": "minim ad irure do", "memberOf": [ { "groupId": "d314ae132836ae29a66fb545", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nisi in ut dolore" }, { "roleId": "Duis culpa aliquip" } ], "inactive": true, "_meta": { "created": "2013-01-17T01:39:49.621Z", "updated": "1973-08-17T17:56:44.594Z", "migrationVersion": 38558442 } } ], "iterations": [ "4FF1eEed-dEd2-CD4C-7343-fCba8E0EB0Eb", "fe0149b0-8A73-5F36-fA5f-5adDd2CFa82E", "71744fe3-ca06-7bAb-8ed3-3DF0bc73C9F4", "b876cEde-c0cA-aF8D-64d0-cDdbc9fA7d8C" ] }, "error_handler": { "x": -96936716.06231815, "y": 61639740.095158845, "gridCoordinate": { "x": -69374729.59060034, "y": -72251664.96106406 }, "name": "childJob", "location": "Adapter", "locationType": "laboris ipsum eiusmod pariatur officia", "app": "in aliquip amet", "canvasName": "dolore aliquip deserunt labore", "displayName": "magna", "summary": "enim cupidatat", "description": "ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Mcd/~0/~0/c" }, { "type": "encryption", "pointer": "/~0/~0/~0/~1/~1/~1/nVrKbcYfsEC" }, { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/zYg3y/~0/EyHbaEAKF/r41hdoPM./~1/b" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "adipisicing enim", "highlightString": "officia" }, { "key": "consectetur dolore", "highlightString": "minim sit consequat eu dolor" }, { "key": "Duis in Ut do sunt", "highlightString": "veniam mollit" } ], "status": "paused", "previous": { "incomplete": [ "3a1f", "workflow_start", "3a1f", "workflow_start", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "3a1f", "e28f", "workflow_start", "error_handler", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "revert" } ] }, "serverId": "adipisicing nostrud mollit cupidatat", "start_time": "2008-10-05T10:33:48.652Z", "end_time": 73967429.806622, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "ce18be81af1321242401909a", "groups": [ { "_id": "0ade09cf6f8d346cb7af3a65", "provenance": "labore ut esse pariatur", "name": "velit mollit id exercitation Lorem", "description": "in et", "memberOf": [ { "groupId": "3ec4c70a4bcd7942ed9187a6", "aaaManaged": false }, { "groupId": "02aab2bf1b2c4062e7a5cfec", "aaaManaged": true }, { "groupId": "38361f570550ce0af9088b13", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis esse" }, { "roleId": "nisi mollit veniam" } ], "inactive": false, "_meta": { "created": "1996-05-02T06:12:09.877Z", "updated": "1945-10-11T19:04:03.197Z", "migrationVersion": -75256736 } }, "default", { "_id": "2dedc1d40e2e828a2933d17d", "provenance": "et ipsum sed irure officia", "name": "irure ullamco sed", "description": "ipsum Duis ut est fugiat", "memberOf": [ { "groupId": "fc08eefa4a7c25041b666079", "aaaManaged": false }, { "groupId": "78104a0d85335d8160d91638", "aaaManaged": false }, { "groupId": "faaf21ca6ad472a8dd5097fb", "aaaManaged": true }, { "groupId": "f485feb733f94fe7e5c09ab4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore sed qui anim adipisicing" } ], "inactive": false, "_meta": { "created": "1995-09-01T08:00:15.519Z", "updated": "1980-03-22T21:14:28.939Z", "migrationVersion": 28620515 } }, "default", "default" ], "iterations": [ "0FB1b5AF-c222-2Cd1-E9C0-cd4Dd2a2bDDA" ] }, "0d6": { "actor": "Pronghorn", "groups": [ "default", { "_id": "9297be1ec0c6441dff6c31cc", "provenance": "eu", "name": "fugiat Ut deserunt consectetur culpa", "description": "laborum", "memberOf": [ { "groupId": "024d482ed2f64ae85eb733f3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna pariatur ut laboris" }, { "roleId": "ut in reprehenderit dolor ullamco" }, { "roleId": "et" }, { "roleId": "quis dolore" } ], "inactive": false, "_meta": { "created": "1952-09-22T20:19:04.964Z", "updated": "2020-04-26T17:25:16.579Z", "migrationVersion": 92253997 } }, "ad5ac30d69cafe6c9914a000", "default" ], "iterations": [ "5d05FAde-72c5-b70a-2fb0-4f36cedB6eF8", "F5eae4A4-9512-d15b-21Cc-774fC865850D" ], "x": 25379425.481376216, "y": 13857551.66181095, "gridCoordinate": { "x": -42053923.89224225, "y": 82138485.25219318 }, "name": "ipsum pariatur veniam est", "location": "Application", "locationType": "consequat", "app": "non", "canvasName": "in est veniam consequat", "displayName": "ut cillum", "summary": "incididunt commodo", "description": "minim esse dolor cillum magna", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/J/YlAMkg/~1" }, { "type": "encryption", "pointer": "/~0/Yb/vqSW9j/eKdNotCmA/m/~0/Iw8nzua+H/bZiGF,zStK/~0/~1/XBNU1fKI" }, { "type": "encryption", "pointer": "/~0/~0/~0/fjB/~0/Si" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "amet laborum", "highlightString": "proident Ut dolore minim" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "e28f" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "workflow_start", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "amet veniam in quis Excepteur", "start_time": "1987-01-11T22:00:16.173Z", "end_time": 83386628.32031575, "finish_state": "failure", "retrySettings": { "state": [ "error", "error", "failure", "error", "failure" ], "autoRetry": true, "limit": 90916785, "delay": 5785137, "count": 17055819, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "task": "ullamco dolore aute consequat elit", "iteration": 18266646.96527706, "element": -41061611.3075025 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "93fec2292a86358dba47d1b0", "provenance": "sit", "name": "amet cupidatat", "description": "adipisicing sunt in", "memberOf": [ { "groupId": "6f4d871f8297ad8d6485cad7", "aaaManaged": false }, { "groupId": "37c6e0f6a29e52959c2dbea9", "aaaManaged": true }, { "groupId": "df214764d35c757bedc2391f", "aaaManaged": true }, { "groupId": "7dcd78fc891285b20ed7d0aa", "aaaManaged": false }, { "groupId": "7e8264a5b3bbc89ffef55d31", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur elit do nostrud" }, { "roleId": "irure minim enim fugiat est" }, { "roleId": "magna in sed nostrud" } ], "inactive": true, "_meta": { "created": "2007-10-18T08:47:54.871Z", "updated": "1988-03-12T09:04:09.41Z", "migrationVersion": 72714677 } }, "3f3eb457072ee524f8c57d6d" ], "iterations": [], "x": -31529344.09017743, "y": 23376094.720926493, "gridCoordinate": { "x": 6651068.419200316, "y": -60323479.41833449 }, "name": "irure", "location": "Application", "locationType": null, "app": "nostrud aliqua dolor amet ea", "canvasName": "irure", "displayName": "dolor reprehenderit labore non", "summary": "in", "description": "aute", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/IJk/WecGia9Jt/~0/~1" }, { "type": "encryption", "pointer": "/~1/f0-P/M0TUdmHT" }, { "type": "encryption", "pointer": "/~0/n1gOGGxIWj/~0/~1/Qru5m,tLaxY" }, { "type": "encryption", "pointer": "/ghc/g/INQM.a" }, { "type": "encryption", "pointer": "/~0/~1/PTyOoVSWK/~0/jx4zst/~1/~0/~1/I-zK3JFhro+/EvFl/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "dolore do eu", "highlightString": "enim cupidatat Ut" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "3a1f", "workflow_end" ], "error": [ "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "laboris", "start_time": "2015-10-22T03:06:53.121Z", "end_time": -88376422.35706267, "finish_state": "error", "retrySettings": { "state": [ "success", "success", "error", "error" ], "autoRetry": true, "limit": 7498204, "delay": 52020206, "count": 3230471, "finishedRetrying": true }, "type": "automatic" }, "groups": [ { "_id": "90b86a356a44299285927fed", "provenance": "aute", "name": "sed", "description": "eiusmod adipisicing", "memberOf": [ { "groupId": "ce4058dc6d50e5fbc357184a", "aaaManaged": false }, { "groupId": "2c798458721adb36a974ed58", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam velit" } ], "inactive": false, "_meta": { "created": "1997-09-17T03:24:19.154Z", "updated": "2017-11-02T22:20:28.355Z", "migrationVersion": 94521850 } }, { "_id": "2223dee1041f6d0635f408ec", "provenance": "pariatur laboris et", "name": "sit", "description": "in", "memberOf": [ { "groupId": "54437664ab9efeb6b0cb1f4e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat" }, { "roleId": "consequat eiusmod nostrud" }, { "roleId": "adipisicing ut" }, { "roleId": "ullamco" }, { "roleId": "tempor mollit do aliqua" } ], "inactive": false, "_meta": { "created": "1981-06-10T10:29:18.638Z", "updated": "2012-04-16T04:21:16.854Z", "migrationVersion": 18490772 } }, "default", { "_id": "40eb3d1bdf8f43e96dfcff07", "provenance": "proident", "name": "cupidatat veniam exercitation in labore", "description": "nulla consectetur veniam consequat qui", "memberOf": [ { "groupId": "45e38a199784dc88594d3484", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum" }, { "roleId": "nisi quis cupidatat deserunt" } ], "inactive": false, "_meta": { "created": "2010-05-29T07:16:04.437Z", "updated": "1951-01-12T00:13:21.626Z", "migrationVersion": 46396027 } }, "8473a507cce4d7a30c4f1b4c" ], "watchers": [ "Pronghorn", "380ff0836314c6f71841cc43" ], "metrics": { "start_time": -85261267.99655943, "progress": 0.7595122137631518, "end_time": -50314451.8317872, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }