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": "_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": "ecb2fe69e85706258ed0e53f", "font_size": 17985148, "type": "resource:compliance", "created": "2009-03-31T17:39:54.083Z", "last_updated": "1972-03-09T06:03:30.722Z", "createdVersion": "788913094.5226060728.2-6151.31771690.835.70607173", "lastUpdatedVersion": "3.56080518525.88048818069", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 25171776, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 56464937.56688833, "sla": -91294647.95216276, "decorators": [ { "type": "encryption", "pointer": "/Men2DZz/pBdbY/~1/SYjzsR7r/~1/~0" }, { "type": "encryption", "pointer": "/~0/qmg/~0/~1/~1/~1/Uy0kNa2rqH5/~0/~1" }, { "type": "encryption", "pointer": "/KSbS/~1/~0/~0/w,FOdY/Eggu/~1/~0/BAhP-,+R/wcgc6ms-/R4Ue9" } ], "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 }, { "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_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "deserunt exercitation incididunt quis" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "3708a4d6dad8cf33e6d19696", "6d781328a8d1d62fe6534b3e" ], "validationErrors": [ { "keyword": "sint", "instancePath": "cillum", "schemaPath": "Lorem fugiat", "message": "proident pariatur" }, { "keyword": "eu", "instancePath": "culpa id commodo cupidatat aute", "schemaPath": "nisi incididunt laborum Duis dolor", "message": "aliqua esse velit" } ], "created_by": "3bf616c1e73c86ae5eaa62f6", "last_updated_by": null, "tasks": { "workflow_start": { "x": -20415407.108300835, "y": 26413116.604005978, "gridCoordinate": { "x": -33212563.51668582, "y": 88898608.09186095 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -84066181.31115003, "finish_state": "error", "user": "1d290ac900bb2f16e866e32c" }, "groups": [ "43b6c830325953064e9b181b", "a9d5febe44722b2f714e67fd" ], "iterations": [ "cBb62799-c9Fc-DdbF-2CDC-9184e7cED2bE" ] }, "workflow_end": { "x": 58406132.64556503, "y": -70826611.82049179, "gridCoordinate": { "x": 18578404.451650605, "y": -42569613.21766641 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "e28f" ], "error": [ "e28f", "e28f" ] }, "metrics": { "end_time": -35430554.80216069, "run_time": 32528699.909822077 }, "groups": [ { "_id": "fad8181077dbfbfe01db714b", "provenance": "proident reprehenderit dolor nisi Lorem", "name": "consequat eu amet aliqua nulla", "description": "tempor", "memberOf": [ { "groupId": "4b9fb175276c233f38107359", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud dolore ea" }, { "roleId": "dolor mollit consequat Excepteur" }, { "roleId": "amet qui" }, { "roleId": "quis aliqua Lorem aute" }, { "roleId": "in" } ], "inactive": false, "_meta": { "created": "1994-02-10T15:11:21.072Z", "updated": "1958-09-06T13:33:52.525Z", "migrationVersion": 68426708 } } ], "iterations": [ "6A0daC8b-9b23-3f5F-fD9A-Da44F4759337" ] }, "error_handler": { "x": -64429784.257908106, "y": -96770176.23283994, "gridCoordinate": { "x": 89281429.56930959, "y": 64922756.632611215 }, "name": "childJob", "location": "Application", "locationType": null, "app": "esse adipisicing minim", "canvasName": "dolor anim non laboris exercitation", "displayName": "do", "summary": "magna ut nostrud", "description": "ex", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/C5mYK62wC/~0/Yx.-J/BF/~0/~1/P62K/~0/QQoZcWKyFaA/~1/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in veniam", "highlightString": "nulla" }, { "key": "sed sunt ipsum veniam culpa", "highlightString": "deserunt in" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end", "workflow_end", "e28f" ], "complete": [ "workflow_start", "workflow_start", "e28f" ], "error": [ "error_handler" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" } ] }, "serverId": "in pariatur quis incididunt eiusmod", "start_time": "1964-11-22T16:53:57.192Z", "end_time": 90525782.19200096, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 37930994, "delay": 5387554, "count": 5419774, "finishedRetrying": false }, "type": "operation", "actor": "5b201f609199bb44ab25793c", "groups": [ "default", "default", { "_id": "3e1266b25ec9296a50cc50b0", "provenance": "esse dolor", "name": "fugiat aute quis exercitation", "description": "incididunt", "memberOf": [ { "groupId": "a3bfe5f8c4bfd3d4ede668c3", "aaaManaged": false }, { "groupId": "05756101d12c790afd4e900e", "aaaManaged": true }, { "groupId": "311da5faca3c141c3c91a1b6", "aaaManaged": true }, { "groupId": "1eedfa7b4fd303df727623f5", "aaaManaged": true }, { "groupId": "4b86c2362658006c3091ec90", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex est" }, { "roleId": "consectetur esse" }, { "roleId": "nisi fugiat sed mollit non" }, { "roleId": "commodo in et" }, { "roleId": "nostrud magna id amet" } ], "inactive": true, "_meta": { "created": "1953-12-25T13:28:55.813Z", "updated": "2019-07-08T19:34:29.68Z", "migrationVersion": -7889012 } } ], "iterations": [ "b0f3B4B5-bf0B-dA8f-1cBa-46fCc5d5F9b4" ] }, "e2": { "x": 10370398.472049251, "y": 45623400.67954445, "gridCoordinate": { "x": 2068594.0377369523, "y": -85516593.02718355 }, "name": "veniam et cillum pariatur", "location": "Application", "locationType": "in culpa proident", "app": "qui", "canvasName": "consectetur ut", "displayName": "eu ex minim nulla", "summary": "reprehenderit fugiat sunt sint", "description": "incididunt est Duis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Wn/kAj8/Cgpbmb" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ad pariatur aliqua", "highlightString": "adipisicing veniam tempor dolore anim" }, { "key": "Lorem sit ut voluptate", "highlightString": "ullamco anim ad cupidatat" } ], "status": "scheduled", "previous": { "incomplete": [ "3a1f", "error_handler", "3a1f", "workflow_start" ], "complete": [ "workflow_end", "error_handler", "e28f", "error_handler" ], "error": [ "workflow_end", "error_handler" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ] }, "serverId": "Ut", "start_time": "1993-05-31T13:34:59.429Z", "end_time": 27269035.203964442, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", { "_id": "fb9643a338d9753dc02bf757", "provenance": "sunt ad", "name": "Duis Excepteur exercitation cupidatat", "description": "proident ad ea ex", "memberOf": [ { "groupId": "8b8374b2c761f04a442ee7d5", "aaaManaged": false }, { "groupId": "503a085962803261abb6a490", "aaaManaged": false }, { "groupId": "77ff2debdfbbaf3b8a066be8", "aaaManaged": true }, { "groupId": "2bc1ad4fdcbed0e831acba7b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "adipisicing ad" }, { "roleId": "laboris est ut Ut" } ], "inactive": true, "_meta": { "created": "1995-09-30T07:21:12.097Z", "updated": "2010-03-24T15:05:12.341Z", "migrationVersion": 6848548 } }, "default", "75ff4418087f413db82236c1" ], "iterations": [ "B9A12fed-5A96-C2b2-C6ee-6be9a6ECea5e", "79FeE4eF-0e6E-Ebf9-3CEa-4adfFba6fB7d" ] } }, "parent": { "job": "pariatur elit mollit adipisicing", "task": "quis ut aliqua", "iteration": 23007116.306409657, "element": 35496108.65061936 }, "errorHandler": null, "groups": [ "default", "default" ], "watchers": [ "Pronghorn", null, "eaa78caf7da285ac589bd72e", "1eee10515fa99a126b3bb7ef" ], "metrics": { "start_time": 88278255.65479207, "progress": 0.7752061199170734, "end_time": -16743144.91210875, "user": "Pronghorn", "owner": { "_id": "bf65e2fff95329ea148c7291", "provenance": "dolor ut aute in id", "username": "Lorem", "firstname": "ad", "memberOf": [ { "groupId": "6ec1da3c21bd20673ee7ca3a", "aaaManaged": false }, { "groupId": "15c0fa95f2302960e64c13eb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate tempor ex" } ], "inactive": false, "lastLogin": "1949-12-26T10:29:03.209Z", "_meta": { "created": "2024-02-13T08:54:53.664Z", "updated": "1980-08-02T16:57:04.48Z", "migrationVersion": 95665138 }, "email": "nostrud cillum eiusmod mollit" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }