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": "_id,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 retrieved search results", "data": { "_id": "d2c29c983a376a1d50ded924", "uuid": "7f1b7693-8250-4d3b-4664-fddd1ac219b9", "font_size": -40300194, "type": "resource:action", "created": "1985-03-06T21:36:49.656Z", "last_updated": "2004-11-08T17:30:46.957Z", "createdVersion": "697.9915094.03477578145", "lastUpdatedVersion": "034472917.3.325", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 73754923, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -30087741.049684614, "sla": 16491395.155330896, "decorators": [ { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/~1/~1/~1/r,An-XBoR/~1/xGBUSr1/mrqaLe" }, { "type": "encryption", "pointer": "/~0/~0/~1/~1/UuKMKzKs7w3" }, { "type": "encryption", "pointer": "/~0/~0/FIi3fH02i/kvY/~0" } ], "status": "canceled", "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": "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": "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": "error_handler", "name": "myCoolDocumentName", "message": "dolore" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "aute" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "in" } ], "ancestors": [ "5818447e126ed9bcf618b155", "9e58478e860ff863dade7f8b", "cfd4cb13ca2d0383bd33e05f", "a3b04c66388e9e9f0c03d555", "3c4b43f9da2c49b6ac00b783" ], "validationErrors": [ { "keyword": "Excepteur minim", "instancePath": "exercitation non sunt", "schemaPath": "anim consectetur aliquip sit", "message": "id officia incididunt ad ex" }, { "keyword": "aliqua dolore", "instancePath": "voluptate tempor proident", "schemaPath": "in aute ullamco cillum", "message": "sit commodo laboris anim" }, { "keyword": "qui sed occaecat sint elit", "instancePath": "ipsum", "schemaPath": "id incididunt consectetur amet anim", "message": "do amet" }, { "keyword": "fugiat amet nulla", "instancePath": "mollit veniam velit cillum", "schemaPath": "est sint", "message": "sit proident Excepteur" }, { "keyword": "pariatur Duis aliquip ipsum", "instancePath": "non", "schemaPath": "eiusmod", "message": "consectetur veniam" } ], "created_by": "6567256ab496e7ca90823f9e", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 10937598.275213167, "y": -95726707.67739142, "gridCoordinate": { "x": -7424643.187951833, "y": -80793288.51131122 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 93222761.87815994, "finish_state": "success", "user": null }, "groups": [ "default", "default", "default", "default", { "_id": "bc44cff3faeadef0e33c7841", "provenance": "et enim qui in ut", "name": "amet non minim", "description": "labore dolor", "memberOf": [ { "groupId": "e0118ca3aab61447e160068a", "aaaManaged": false }, { "groupId": "728e4d9019b82e706327290c", "aaaManaged": false }, { "groupId": "e368d4b42dee01282a16a4ab", "aaaManaged": true }, { "groupId": "5f7eb94f67916b4ffac29932", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna laborum" } ], "inactive": false, "_meta": { "created": "1949-09-08T02:47:19.256Z", "updated": "2004-07-18T13:43:39.928Z", "migrationVersion": 40731001 } } ], "iterations": [ "f26B419c-0c1D-fF4B-D116-a51D3bBa6df9", "c2E7Dd56-F9cA-e5Be-e2aC-AF21f9Fcf7D0" ] }, "workflow_end": { "x": 47034361.870648235, "y": -99309961.48650534, "gridCoordinate": { "x": 58166310.17529249, "y": 42634506.34869975 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "workflow_start", "3a1f" ], "error": [ "workflow_start", "3a1f", "workflow_end", "workflow_start" ] }, "metrics": { "end_time": -22323915.228552595, "run_time": 31294342.264381886 }, "groups": [ "f1eb04a1599dbe4356e3d51e", "646663fdc561cfbceca5c41f", "default", "default", "e06e9f120b20770e844f7876" ], "iterations": [ "6Dae9C07-4fbD-1eb3-2EFB-cbBC6Ea9c4Bf" ] }, "error_handler": { "x": -9577025.195963398, "y": -71712051.86914942, "gridCoordinate": { "x": 78953780.64665422, "y": -75397654.53664544 }, "name": "childJob", "location": "Broker", "locationType": "magna", "app": "deserunt cupidatat proident in Duis", "canvasName": "sunt", "displayName": "elit tempor consectetur deserunt", "summary": "aliquip commodo ipsum", "description": "Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/dNct/~0/GR0sBHe,5k/~1/~0/k/~0/gNBdoHz" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "sunt", "highlightString": "Duis" }, { "key": "Duis Lorem amet", "highlightString": "amet commodo ut sed" }, { "key": "eiusmod nostrud", "highlightString": "occaecat" } ], "status": "complete", "previous": { "incomplete": [ "e28f", "e28f", "workflow_end" ], "complete": [ "workflow_start", "e28f", "3a1f", "e28f" ], "error": [ "workflow_start", "workflow_end", "3a1f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "exercitation laborum quis", "start_time": "2018-12-08T03:42:41.401Z", "end_time": -84043042.41875905, "finish_state": "success", "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 93892897, "delay": 6669446, "count": 25732942, "finishedRetrying": false }, "type": "operation", "actor": "d02ca9728400c0a7e2b170c9", "groups": [ { "_id": "0b60386a3f01317e0428776a", "provenance": "labore qui ea dolore Ut", "name": "id", "description": "non", "memberOf": [ { "groupId": "0bfa8c8e5194a2d8412b3588", "aaaManaged": false }, { "groupId": "9e4a50b1ac50ae591387fa6c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam dolor" } ], "inactive": true, "_meta": { "created": "2013-08-26T13:40:50.999Z", "updated": "1957-08-31T10:01:44.177Z", "migrationVersion": -28128847 } }, "default", "01df4b2c2c15bf5e87acb3c0", { "_id": "889433a9cce00829343728c6", "provenance": "enim ipsum Excepteur in", "name": "ad minim Excepteur est", "description": "Excepteur", "memberOf": [ { "groupId": "60191ab79c7adf69965a5268", "aaaManaged": false }, { "groupId": "241b3919357597fef53ed794", "aaaManaged": false }, { "groupId": "dde65c95a4b14a8269ba0800", "aaaManaged": true }, { "groupId": "2fd92a20956151efa7ddef46", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse ut" }, { "roleId": "sed quis anim" } ], "inactive": false, "_meta": { "created": "1978-12-23T14:32:54.546Z", "updated": "2005-01-23T22:13:39.73Z", "migrationVersion": 50239899 } } ], "iterations": [ "3Ee9Ea09-d0Fd-730e-CFee-a6104aeAa687", "AaE0b41a-bbF5-78Cf-cfb7-61dCdAAf7F1A" ] }, "7e": { "actor": "$var.3da7.eGsA5eLftT", "groups": [ "default", "558c873f6c24a8afbf1a2bb8" ], "iterations": [ "B4ebD89C-99E4-4e7a-63FB-b5B4bca08464" ], "x": 60602536.80529603, "y": 13808482.832210213, "gridCoordinate": { "x": 48625003.73887947, "y": -26405458.12576005 }, "name": "commodo aliqua dolore", "location": "Broker", "locationType": "aute nisi", "app": "officia amet", "canvasName": "fugiat tempor aute anim ullamco", "displayName": "Lorem Excepteur in ullamco", "summary": "reprehenderit occaecat Ut aliqua", "description": "magna qui ipsum ea officia", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/~1/~0/~1/~1/~0/gIgMon" }, { "type": "encryption", "pointer": "/~1/AEkbd-H/~0" }, { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/DBeRBBqoXgF/mt-0-ISG7/xn1vGEI.A/uWP+LpPYGD/y7puvw-/1YL/q8l1xV9t35s/~1/xJ.EQP8cys/JcvHZiV-Nv" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "mollit et", "highlightString": "ea amet voluptate proident" }, { "key": "sit", "highlightString": "aliqua incididunt adipisicing" }, { "key": "et incididunt cupidatat", "highlightString": "qui in esse cillum enim" }, { "key": "ut officia laborum", "highlightString": "veniam id cupidatat" }, { "key": "incididunt tempor dolor", "highlightString": "elit in" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "error_handler", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "workflow_end", "e28f", "3a1f", "error_handler" ], "error": [ "workflow_start", "e28f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "consequat occaecat commodo deserunt sunt", "start_time": "2000-08-26T20:25:30.731Z", "end_time": -77009783.65995441, "finish_state": "success", "retrySettings": null, "type": "automatic" } }, "parent": { "job": "dolor culpa magna ex dolore", "task": "amet magna pariatur sunt ipsum", "iteration": 3102004.760289341, "element": 72785075.03883934 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "26c1476dca232d0a43cbea2e", "provenance": "deserunt et", "name": "ullamco in", "description": "dolor ullamco dolore", "memberOf": [ { "groupId": "dc5ca4a98c2ffc4c48e61b60", "aaaManaged": false }, { "groupId": "9d961c04fed62f8046e1717a", "aaaManaged": false }, { "groupId": "0ee81656c53bfaa766838110", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna in fugiat" }, { "roleId": "consectetur occaecat ullamco Lorem proident" }, { "roleId": "et" }, { "roleId": "dolore elit officia" }, { "roleId": "Excepteur qui Duis" } ], "inactive": true, "_meta": { "created": "2004-12-29T03:25:39.139Z", "updated": "1962-05-18T05:14:48.095Z", "migrationVersion": -94384848 } } ], "iterations": [ "f83F9bC4-3f97-5FbF-99EC-CfB472F0B2E7", "1eC1777C-faC6-bf52-FCfc-1DC6BeeBECf7", "1E82F732-C6ea-5ACe-0092-f0c9AfffFB78" ], "x": 49832241.94051278, "y": 24116599.252751365, "gridCoordinate": { "x": -95669462.973536, "y": 38978786.10319939 }, "name": "do cupidatat eiusmod", "location": "Broker", "locationType": null, "app": "occaecat consequat nisi elit nostrud", "canvasName": "id", "displayName": "ex labore reprehenderit enim", "summary": "non", "description": "sit cillum quis Ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/L0PBF/J/TxBr/~1/~1/~0/dvwBHPm" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "sed", "highlightString": "velit officia amet" }, { "key": "qui", "highlightString": "aute eu ex et" }, { "key": "fugiat qui minim", "highlightString": "Duis" }, { "key": "ipsum ea Ut quis dolore", "highlightString": "cupidatat consequat non Excepteur" } ], "status": "paused", "previous": { "incomplete": [ "error_handler", "workflow_end", "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "e28f", "workflow_start" ], "error": [ "workflow_end", "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "veniam dolore ex", "start_time": "1986-06-23T06:56:44.727Z", "end_time": -59149378.91594647, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "groups": [ "default", { "_id": "a5c79aa92118d302c1ed0805", "provenance": "et culpa Lorem laboris amet", "name": "et", "description": "esse ex fugiat Excepteur", "memberOf": [ { "groupId": "80399f004f382fef5207ace8", "aaaManaged": false }, { "groupId": "880d0573f21eca3d05b89e3e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet Excepteur ex officia ad" } ], "inactive": false, "_meta": { "created": "1981-07-21T14:00:49.374Z", "updated": "1968-02-17T06:34:18.71Z", "migrationVersion": 12893096 } }, "f9c82d4d534b11d33cd1d4d8" ], "watchers": [ "Pronghorn", "ff264dd20dc520503f5adfe3", "Pronghorn", "Pronghorn", null ], "metrics": { "start_time": -7617765.518008307, "progress": 0.8923366536291286, "end_time": -82000910.74455237, "user": null, "owner": "3e4dcb34c5d211e6a7d75ae1" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }