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": "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 retrieved search results", "data": { "_id": "9af2dfe0dd7d640de979c0e3", "font_size": -45355082, "type": "automation", "created": "1972-07-05T16:06:33.217Z", "last_updated": "2018-04-02T15:42:58.453Z", "createdVersion": "006408389.3848935787.59344", "lastUpdatedVersion": "2057.4811029.5251835-5201.188.51953", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -27407240, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -33734999.727202155, "sla": 34752587.095268995, "decorators": [ { "type": "encryption", "pointer": "/gE+qZWk/~0/H/~0/VR/Hw/VmOe/~1/u-MT5Ha+/~0/c1Av" }, { "type": "encryption", "pointer": "/HAJQ5ARu/VA4T4z1mx" }, { "type": "encryption", "pointer": "/~0/~1/EDf2Xk/JW1pL/~1/~1" }, { "type": "encryption", "pointer": "/~0/~0/JxC40Ig2/Jr23L/~1/~0" } ], "status": "canceled", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "cupidatat tempor cillum" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "commodo fugiat" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "7a06f37a415478143b3ede52", "1733badb376bd18acc93f204", "16fbe604a03d44d6f5f492da", "ee31ca81ca60b2c244bb311f", "51ebfd7e79e4effff025949a" ], "validationErrors": [ { "keyword": "anim Duis in", "instancePath": "ipsum velit ea cupidatat", "schemaPath": "non minim dolor proident ipsum", "message": "qui occaecat nulla id anim" }, { "keyword": "adipisicing anim dolor in", "instancePath": "aute in", "schemaPath": "sint nostrud Lorem aliquip irure", "message": "in Duis" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 1073515.9475557655, "y": 67754320.45459068, "gridCoordinate": { "x": -32861922.39461547, "y": -25918576.538417876 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 3865529.6954549253, "finish_state": "failure", "user": null }, "groups": [ "default", { "_id": "a3a62b1c27060e6899add0ee", "provenance": "ex culpa veniam amet reprehenderit", "name": "anim aute", "description": "ad", "memberOf": [ { "groupId": "6d260dad00a8d0db5e18898f", "aaaManaged": true }, { "groupId": "514458620726a846502be24e", "aaaManaged": true }, { "groupId": "8a94bffe1df34d40cb0d2cce", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur dolore aliqua" }, { "roleId": "ea" }, { "roleId": "non laboris amet" }, { "roleId": "dolore et" } ], "inactive": true, "_meta": { "created": "1998-01-28T12:49:28.258Z", "updated": "1945-06-26T12:52:44.789Z", "migrationVersion": -54619946 } }, "95107276664ed8c6ff4afe39" ], "iterations": [ "2c32Db10-B774-A3b1-9016-c3264aa1da8f", "7cB5296c-eA2E-aa9C-28b3-7503FaFE2aff" ] }, "workflow_end": { "x": 12598944.789502919, "y": 22527950.149436742, "gridCoordinate": { "x": -59394540.555379696, "y": -21067413.84523478 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "e28f" ], "complete": [ "3a1f" ], "error": [ "error_handler", "workflow_start", "workflow_start", "3a1f" ] }, "metrics": { "end_time": -66883671.49370013, "run_time": -13726909.477570757 }, "groups": [ "90b3d95dd66378273c7cc063", "12eded21eff20dad77285106", "default", "09be9fbc4511d4c21da3e348" ], "iterations": [ "edACae52-9CCD-78ba-084F-8B01EAe19Ff2" ] }, "error_handler": { "x": 84271629.35579574, "y": 70481158.31622565, "gridCoordinate": { "x": 77782676.2128579, "y": -68117180.3139419 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "fugiat", "canvasName": "ut", "displayName": "laborum ut", "summary": "quis minim id magna dolor", "description": "aliquip sit pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/B+8E-5.on/~1/~1/zZf/Ff9CW/VADOIjpH/anCiHc+w" }, { "type": "encryption", "pointer": "/~1/ES1o/fRt/~0/~0/~0" }, { "type": "encryption", "pointer": "/~0/x3cw1hIUc" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~1/~0/~1/~1/~0/~1/~1/~1/~0/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "aliqua sunt adipisicing labore commodo", "highlightString": "sed adipisicing" } ], "status": "failure", "previous": { "incomplete": [ "error_handler", "workflow_end" ], "complete": [ "workflow_start", "workflow_start", "e28f" ], "error": [ "workflow_start", "error_handler" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "e28f", "type": "standard" } ] }, "serverId": "mollit est aute", "start_time": "1968-07-30T15:21:03.206Z", "end_time": 87059412.2305161, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "efad435e8f0f01997679434a" ], "iterations": [] }, "dd5f": { "actor": "job", "groups": [ "default", { "_id": "f69b506c766a10e917443d42", "provenance": "dolore", "name": "ut occaecat", "description": "dolor velit anim", "memberOf": [ { "groupId": "6cee425a24d049acf05b8062", "aaaManaged": false }, { "groupId": "20b38b51fed19d1e095eb8eb", "aaaManaged": true }, { "groupId": "8e825d18a5d4a0ccf26e9ca1", "aaaManaged": false }, { "groupId": "4c5ecdad6d4d57f47d70848a", "aaaManaged": false }, { "groupId": "4da1f75a7dc543245b4c2417", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis amet in qui" }, { "roleId": "adipisicing qui incididunt" }, { "roleId": "dolore laborum sunt" }, { "roleId": "aute sunt ut esse adipisicing" }, { "roleId": "consectetur" } ], "inactive": false, "_meta": { "created": "2008-09-20T05:51:55.266Z", "updated": "2017-09-14T02:04:40.554Z", "migrationVersion": -84398278 } } ], "iterations": [ "88567BfE-98e2-D7e5-30F6-ecfadCcAb412" ], "x": -92752551.8554373, "y": 95016241.45905855, "gridCoordinate": { "x": 84667507.39194277, "y": 45240454.93479404 }, "name": "minim labore", "location": "Application", "locationType": "magna est amet nostrud", "app": "ut nisi", "canvasName": "childJob", "displayName": "eu", "summary": "nostrud officia dolor id", "description": "sit veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/zdgj/~0/Hq" }, { "type": "encryption", "pointer": "/~0/~1/yp9L/bNjL/~0/~0" }, { "type": "encryption", "pointer": "/MGP/sz2O/FSUb/sx0F/~1/w84JiWV-/~1/kg/emG-6c3UFl/~1" }, { "type": "encryption", "pointer": "/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "proident sint dolore", "highlightString": "sint" } ], "status": "paused", "previous": { "incomplete": [ "error_handler", "e28f", "e28f", "workflow_start", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "e28f", "e28f", "e28f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" } ] }, "serverId": "exercitation ut laboris irure aliquip", "start_time": "1981-10-27T06:52:33.675Z", "end_time": 47995859.670904696, "finish_state": "failure", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 95401488, "delay": 77213818, "count": 97372310, "finishedRetrying": false }, "loop": { "atLeastOneComplete": true, "finishedCount": -85955606.73982048, "outgoing": [ "et elit ad deserunt", null, "pariatur elit", null, null ] }, "childJobs": [ { "_id": "veniam occaecat", "name": "nulla do culpa pariatur", "iteration": 81046222.83300418 }, { "_id": "cupidatat laborum esse et", "name": "Duis ad eiusmod commodo", "iteration": 39727914.522487134 }, { "_id": "Excepteur anim qui esse do", "name": "velit sint do", "iteration": -54145330.73865329 }, { "_id": "anim culpa ea veniam cupidatat", "name": "nisi anim aliquip adipisicing reprehenderit", "iteration": -2185309.8838669807 }, { "_id": "culpa", "name": "do culpa Lorem aliqua", "iteration": 83590130.92029971 } ] } }, "parent": { "job": "elit nulla ea", "task": "sed officia", "iteration": 44995806.2327953, "element": -34155967.15023424 }, "errorHandler": null, "groups": [ "396e30a8271a5fd56c40e0fb", "dfee038b66ad1f7cdd67d0dc" ], "watchers": [ { "_id": "062e33dc9ef7da2b1c3d4fb3", "provenance": "pariatur esse et dolor fugiat", "username": "aute quis cupidatat non nisi", "firstname": "et dolor in dolor ut", "memberOf": [ { "groupId": "7f0aa22f4259d4650d548c98", "aaaManaged": false }, { "groupId": "e89a6f53379ec1f370b13e0a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur fugiat" }, { "roleId": "adipisicing" } ], "inactive": true, "lastLogin": "2009-09-04T16:48:01.391Z", "_meta": { "created": "2015-12-14T19:26:55.199Z", "updated": "2020-04-09T16:55:57.212Z", "migrationVersion": 90848374 }, "email": "non deserunt ex nostrud" }, "Pronghorn", { "_id": "6cf3bd3edfd63b993c6c24db", "provenance": "sint ex", "username": "adipisicing officia consectetur Duis", "firstname": "laboris", "memberOf": [ { "groupId": "a08faacc5c53c22eec0ade74", "aaaManaged": false }, { "groupId": "1a5981fedef1264f87d8d180", "aaaManaged": false }, { "groupId": "032bc303a061aa899c7237d8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem id proident est" } ], "inactive": false, "lastLogin": "1991-04-02T13:45:53.112Z", "_meta": { "created": "1999-07-18T20:06:31.657Z", "updated": "1970-02-04T08:01:59.467Z", "migrationVersion": -63666634 }, "email": "ut adipisicing Duis laboris qui" }, "Pronghorn" ], "metrics": { "start_time": -63315351.54290089, "progress": 0.9139978168282255, "end_time": 82108442.1869902, "user": { "_id": "2b1de04364377a9c8ed97f52", "provenance": "dolor", "username": "in sint nulla", "firstname": "mollit magna nostrud qui", "memberOf": [ { "groupId": "acd3ef96bed23b93b5c9008e", "aaaManaged": false }, { "groupId": "b2c416f30002774a6eb363e5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor dolore enim esse laboris" }, { "roleId": "sit" }, { "roleId": "adipisicing" }, { "roleId": "id veniam reprehenderit laborum" }, { "roleId": "sunt officia elit adipisicing" } ], "inactive": true, "lastLogin": "1945-06-29T13:30:03.651Z", "_meta": { "created": "1976-06-08T23:09:57.439Z", "updated": "1947-12-01T08:49:20.053Z", "migrationVersion": -39559169 }, "email": "eiusmod exercitation ex sint enim" }, "owner": { "_id": "d7d2194c522a8d38a701193a", "provenance": "ex", "username": "ut laborum esse", "firstname": "voluptate", "memberOf": [ { "groupId": "0298ac1a1dccf9028c889ec6", "aaaManaged": true }, { "groupId": "3e1982182b2334b31fd18068", "aaaManaged": false }, { "groupId": "55c823d665c4a290bf853dde", "aaaManaged": false }, { "groupId": "febd3c964f95bc259782e0f3", "aaaManaged": true }, { "groupId": "fbf2bdd75d57cfec54e62898", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt ea in sit nisi" }, { "roleId": "amet nostrud sint anim enim" }, { "roleId": "enim officia reprehenderit" }, { "roleId": "velit Lorem est qui" }, { "roleId": "labore Ut" } ], "inactive": true, "lastLogin": "2010-01-10T17:06:03.604Z", "_meta": { "created": "1972-09-17T00:30:46.099Z", "updated": "1997-02-20T20:05:27.433Z", "migrationVersion": -94307314 }, "email": "ea Ut" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }