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 retrieved search results", "data": { "_id": "5f59a8233b1f823318f86822", "uuid": "659a682a-5350-4e46-e3f7-5af1e691bfb6", "font_size": 11409195, "type": "resource:action", "created": "1972-04-25T04:46:28.511Z", "last_updated": "2014-03-03T17:35:03.721Z", "createdVersion": "967120.802239979.534144110", "lastUpdatedVersion": "48542776837.857389.68915-8674.14303826.1685601", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 93059147, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -39097054.741551585, "sla": 91841470.50728458, "decorators": [ { "type": "encryption", "pointer": "/~0/gNlYAkT/~1/T/aW0BP3b4/~0/J7MIFGs/~1/~1" }, { "type": "encryption", "pointer": "/b66Qzwk9n/YCAwlotxC,/LC/~1/~0" }, { "type": "encryption", "pointer": "/~0/~1/~0/~1/~1/~1/WYzWku13NDJ/pmzPAJ8/Y+GYYrng1p/G-K/~0" }, { "type": "encryption", "pointer": "/~1/D1ljdav/~0/~1/~0/~0/~1" } ], "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 }, { "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": "reprehenderit fugiat in velit" } ], "ancestors": [ "00b829e614110662dec3a405", "65dff62d2c74758848233a44", "d8f8cb9e5e71bd0c2e57e8d3", "5abac7a1af596fcbdb6818bc" ], "validationErrors": [ { "keyword": "ea Excepteur anim mollit non", "instancePath": "id consequat Ut eu", "schemaPath": "eu consequat et", "message": "sint" }, { "keyword": "anim incididunt qui in", "instancePath": "dolor enim eiusmod veniam minim", "schemaPath": "qui incididunt irure Ut nulla", "message": "ex incididunt qui ipsum" } ], "created_by": "6381c2b017393432e76acf4d", "last_updated_by": "7da86b2ef508bb3ba168d15f", "tasks": { "workflow_start": { "x": 27250394.362636983, "y": 60642788.00257629, "gridCoordinate": { "x": -95504563.22310992, "y": 49259264.95074865 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 1597481.6109794378, "finish_state": "success", "user": null }, "groups": [ "default", "0a272a8078dc97a63dfb6c75", "e9836e8ed151a65614f0ec5d", "default" ], "iterations": [ "26b1B0D0-55aF-4cef-9415-aFC5C39F3D00", "5640A2DC-a3AD-0fDF-2eC1-D6d10B439c43" ] }, "workflow_end": { "x": 17170846.431484506, "y": -39180989.53395117, "gridCoordinate": { "x": 15221446.429184794, "y": -65065234.916867666 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_end", "error_handler" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "workflow_start", "e28f", "e28f" ] }, "metrics": { "end_time": 55577944.70886397, "run_time": 10596648.946727112 }, "groups": [ "default", "39518ce8772de356f23a5f69", "5b73c8fed95f638a4c2f9dbb" ], "iterations": [ "6d8DbB7a-ae61-FcB3-4AeC-3059d0adEEec" ] }, "error_handler": { "x": -2173503.924618721, "y": 44003221.40763867, "gridCoordinate": { "x": -75393285.37906766, "y": -93899003.20740096 }, "name": "childJob", "location": "Broker", "locationType": "do culpa dolore irure", "app": "ut labore amet sint quis", "canvasName": "est ex laboris", "displayName": "magna", "summary": "consequat adipisicing dolore eu commodo", "description": "sint", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/ZuJbOUTM4/~1/~1" }, { "type": "encryption", "pointer": "/d/~1/jTNe/X-0/~0/XmZ0" }, { "type": "encryption", "pointer": "/rS69F/~0/YS/~1" }, { "type": "encryption", "pointer": "/g87r/f/eItEnO" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in in incididunt", "highlightString": "proident" }, { "key": "reprehenderit velit sed", "highlightString": "esse nisi pariatur aliquip" }, { "key": "id proident irure in dolor", "highlightString": "Ut consectetur ullamco sit" }, { "key": "eiusmod occaecat Ut amet tempor", "highlightString": "reprehenderit sed" }, { "key": "aliqua consequat deserunt eu minim", "highlightString": "ipsum non" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "e28f", "workflow_start" ], "complete": [ "error_handler", "workflow_end", "3a1f", "error_handler" ], "error": [ "workflow_start", "e28f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "cupidatat fugiat Ut reprehenderit", "start_time": "1978-02-05T05:21:25.594Z", "end_time": 29548502.389011815, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "9e06fc9bc1d5d9c23769a9e5", "provenance": "voluptate aliquip", "name": "ad enim Ut", "description": "ex in aliqua cupidatat", "memberOf": [ { "groupId": "3429d80fa163e8fa4f2c27d4", "aaaManaged": false }, { "groupId": "2f85d7dbae6beff341954891", "aaaManaged": true }, { "groupId": "fe0ff74fd56467f9afc91df3", "aaaManaged": true }, { "groupId": "b75f180adf8e02c5030ab9c4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "mollit incididunt" }, { "roleId": "Excepteur nostrud" }, { "roleId": "consectetur ipsum occaecat" }, { "roleId": "quis sunt" } ], "inactive": false, "_meta": { "created": "2020-04-11T22:48:27.451Z", "updated": "1948-04-25T17:04:49.453Z", "migrationVersion": 42533454 } }, "default", "b66f2699153ba9633d1dee89", { "_id": "6976b4e7cd9218674bc28eb6", "provenance": "est", "name": "commodo do non", "description": "cillum", "memberOf": [ { "groupId": "c971d495fc5e4594fa3b2b5e", "aaaManaged": true }, { "groupId": "b6f12ad402bee307f19a4065", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim eiusmod laborum laboris deserunt" }, { "roleId": "labore cillum do ex Ut" } ], "inactive": true, "_meta": { "created": "2000-07-09T02:11:34.668Z", "updated": "2017-07-14T04:11:15.897Z", "migrationVersion": -2242584 } }, "default" ], "iterations": [ "89434bFc-c1E3-89AA-e79B-C3FFFDAb0eD1" ] }, "d6e5": { "x": 34100839.663403004, "y": 17221835.98063092, "gridCoordinate": { "x": -40706030.93737595, "y": 95771889.42351884 }, "name": "amet non ullamco", "location": "Application", "locationType": "esse culpa aliquip", "app": "incididunt Duis do", "canvasName": "fugiat adipisicing", "displayName": "minim", "summary": "nulla qui", "description": "non dolore culpa in quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/Vw+tZfq/GEYK/SctJNS,f./~1/~0/N/~0/~1" }, { "type": "encryption", "pointer": "/Zjc1cO.4s/KHS,WGe/~0/IV2kqxP27" }, { "type": "encryption", "pointer": "/~0/PURkeUh/Y/~1/r/L5YM3YFg/~0/zHI2ryBIX" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ad ullamco Lorem sed", "highlightString": "in enim" }, { "key": "ad", "highlightString": "sint dolor" }, { "key": "ipsum id nulla esse aliquip", "highlightString": "tempor proident" }, { "key": "Ut", "highlightString": "sit sunt consequat consectetur" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "workflow_end" ], "complete": [ "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "deserunt sint dolor Ut amet", "start_time": "2021-11-10T06:15:32.227Z", "end_time": -51041793.21023743, "finish_state": "failure", "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 69321326, "delay": 52698777, "count": 68374248, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "7f2380bb4420bfff5267316a", "provenance": "in dolor aliqua", "name": "Excepteur sit dolore in esse", "description": "sit laboris magna cillum", "memberOf": [ { "groupId": "ea6e97cc1d6d5533f67cf615", "aaaManaged": false }, { "groupId": "b9ecd557ada20dd98f48faed", "aaaManaged": true }, { "groupId": "a5d5ed4cb489315b530c2afd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam deserunt" }, { "roleId": "cillum" }, { "roleId": "ipsum commodo ut Lorem" }, { "roleId": "nisi incididunt dolor esse velit" }, { "roleId": "quis Ut Lorem" } ], "inactive": true, "_meta": { "created": "2014-11-24T10:07:11.906Z", "updated": "1948-07-01T02:37:58.708Z", "migrationVersion": 51026085 } }, "default", "5d350c7d7ca23f1a0bcfc259", "default", "d303eb6dc48702faf8944ef0" ], "iterations": [ "0FCcb5CD-E96b-F55e-cbb8-b8CC66dF7690" ] } }, "parent": { "task": "deserunt officia nisi", "iteration": 92405129.02283889, "element": 33473719.02726382 }, "errorHandler": { "x": -37174511.75942412, "y": -41334636.548755646, "gridCoordinate": { "x": 85243256.53977063, "y": -31990.257857382298 }, "name": "est ea", "location": "Adapter", "locationType": "reprehenderit nisi Duis exercitation ex", "app": "dolor elit reprehenderit nulla", "canvasName": "Ut nisi id sunt et", "displayName": "quis est dolor", "summary": "eiusmod labore do elit", "description": "nisi culpa", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/bJlBq4htZQ4/Ya6--1Vy/~0/~0/cZQqlG/qEBi3dU-/~0" }, { "type": "encryption", "pointer": "/bIiq/D/qFwH5-0p/~0/~1/O-QU/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "pariatur sunt velit culpa incididunt", "highlightString": "voluptate aliquip reprehenderit" } ], "status": "complete", "previous": { "incomplete": [ "error_handler", "e28f", "3a1f", "e28f", "e28f" ], "complete": [ "e28f", "3a1f" ], "error": [ "workflow_start", "workflow_start", "e28f", "workflow_end", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "cillum culpa ut", "start_time": "1961-08-08T00:05:59.261Z", "end_time": -41927943.70787945, "finish_state": "failure", "retrySettings": { "state": [ "failure", "failure", "error", "error", "error" ], "autoRetry": true, "limit": 31877887, "delay": 50949515, "count": 61506216, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ { "_id": "a12ec3b7bf12885bdd6b84fc", "provenance": "ipsum dolor dolor", "name": "ipsum qui sunt aute", "description": "Duis", "memberOf": [ { "groupId": "a900d909ed9613b5f31a8d7f", "aaaManaged": true }, { "groupId": "8974514af7c5af6c7cf8a901", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua laborum nostrud" }, { "roleId": "sed deserunt" } ], "inactive": true, "_meta": { "created": "1970-04-10T01:44:28.606Z", "updated": "1967-03-31T17:20:00.811Z", "migrationVersion": 7013167 } }, "default" ], "iterations": [] }, "groups": [ { "_id": "c8384549bfdff572376e517b", "provenance": "non adipisicing et est", "name": "sunt id minim", "description": "sit", "memberOf": [ { "groupId": "ed536a5f664eacd758e688a8", "aaaManaged": false }, { "groupId": "5035899336548b2a3710687e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cupidatat culpa laboris sit" }, { "roleId": "aliqua eiusmod voluptate esse" } ], "inactive": false, "_meta": { "created": "2018-05-22T02:46:56.62Z", "updated": "1991-08-29T06:29:13.423Z", "migrationVersion": 21505283 } }, "default", { "_id": "ec53b129b519e2d99a22db60", "provenance": "incididunt exercitation", "name": "ipsum dolor occaecat quis sunt", "description": "quis", "memberOf": [ { "groupId": "c3862e1b02c01c2c53f99395", "aaaManaged": true }, { "groupId": "b4a1e50213266130a2fd4df7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex est aute nulla" } ], "inactive": true, "_meta": { "created": "2001-03-14T06:12:14.926Z", "updated": "1959-04-20T10:31:59.104Z", "migrationVersion": 46462110 } } ], "watchers": [ null, { "_id": "4c562e7f8ca465690c444ad0", "provenance": "exercitation mollit aliqua anim", "username": "cillum nostrud laborum aute dolore", "firstname": "sunt in voluptate dolor pariatur", "memberOf": [ { "groupId": "8da89d77acc785a2c9dac560", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo" }, { "roleId": "fugiat" }, { "roleId": "aliqua amet laboris ad voluptate" } ], "inactive": true, "lastLogin": "2003-10-14T18:01:44.487Z", "_meta": { "created": "1967-04-30T23:49:27.904Z", "updated": "1986-12-16T04:04:03.965Z", "migrationVersion": 89386540 }, "email": "amet" }, null ], "metrics": { "start_time": 61202736.13499907, "progress": 0.15909567548678072, "end_time": 92448045.38084885, "user": null, "owner": "fb09d64e5c80f75931780fb3" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }