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", "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": "045d01fcbc7dd46d1fb1a534", "font_size": 54588837, "type": "resource:action", "created": "2000-01-01T18:27:56.334Z", "last_updated": "1955-12-13T17:18:12.074Z", "createdVersion": "81248238.16811500.484109949-1899.08.74238435013.4", "lastUpdatedVersion": "250572.81159.3018597-7494.84844456.3", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -8752120, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 68198134.88029557, "sla": 34949147.80341825, "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~0/S/yoKYUOHF/jsNpg/NCL8/FO" } ], "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": "3a1f", "name": "myCoolDocumentName", "message": "do quis nulla" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "exercitation officia ea non dolor" } ], "ancestors": null, "validationErrors": [ { "keyword": "Lorem cupidatat ipsum consequat", "instancePath": "culpa sint dolore aliquip", "schemaPath": "fugiat reprehenderit nostrud culpa consectetur", "message": "esse" }, { "keyword": "do irure culpa", "instancePath": "sit in anim nostrud", "schemaPath": "ea Duis est sed officia", "message": "culpa" } ], "created_by": "ec3565c58ff6065f4be6a433", "last_updated_by": "94637a5912725c45ca4b1f97", "tasks": { "workflow_start": { "x": -11779909.811668083, "y": 49000314.64750737, "gridCoordinate": { "x": -37895407.70545767, "y": 75025529.59374845 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 61319755.91186604, "finish_state": "error", "user": "Pronghorn" }, "groups": [ { "_id": "073607071c17684cae6a7655", "provenance": "elit exercitation id occaecat consectetur", "name": "consequat irure incididunt esse", "description": "labore commodo laborum", "memberOf": [ { "groupId": "8b1934c6182b8f145dc6dc1f", "aaaManaged": false }, { "groupId": "ddd03e46adfb35dc7a39b642", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Excepteur Lorem dolore ex aute" }, { "roleId": "ad" } ], "inactive": true, "_meta": { "created": "1993-01-04T21:59:23.88Z", "updated": "2017-07-08T23:23:17.271Z", "migrationVersion": 762289 } }, "default", { "_id": "73749bb74834c815c1dc144f", "provenance": "voluptate", "name": "anim Excepteur esse ipsum dolore", "description": "eiusmod labore", "memberOf": [ { "groupId": "d6803fece45b090a803af2f8", "aaaManaged": true }, { "groupId": "1164ae438c78064125a57b36", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui ipsum dolor sed Duis" }, { "roleId": "ex tempor" }, { "roleId": "ex" }, { "roleId": "adipisicing tempor" } ], "inactive": false, "_meta": { "created": "2003-09-04T05:23:25.232Z", "updated": "1969-02-19T11:21:09.273Z", "migrationVersion": -6735901 } }, "default", "default" ], "iterations": [] }, "workflow_end": { "x": 54878007.58746061, "y": -56467431.174437046, "gridCoordinate": { "x": 68424091.61503819, "y": -31943853.5125359 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "3a1f" ], "complete": [ "workflow_end", "e28f", "3a1f", "workflow_start" ], "error": [ "error_handler", "error_handler", "workflow_start", "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -49559354.80018123, "run_time": -78540245.84651631 }, "groups": [ "default", "431dfacf8f90ce83d403a0f0", "default", "default" ], "iterations": [ "c85f1C9e-197E-f53D-a5BF-51DA98bC7C29", "69bdB773-3c11-29F7-25b9-c2cBb2054f4B" ] }, "error_handler": { "x": -59625685.465187624, "y": -91037350.0746895, "gridCoordinate": { "x": 93472273.46131364, "y": 68201858.31310841 }, "name": "childJob", "location": "Application", "locationType": null, "app": "cillum", "canvasName": "Ut voluptate eu aliquip eiusmod", "displayName": "ut aliquip et", "summary": "sint enim consequat id qui", "description": "occaecat Lorem qui mollit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/QE/~1/~0/PK3k/~0/Ha7X/~1/~0" }, { "type": "encryption", "pointer": "/~0/n9n/R2zm/~1/ppzn/ctaRgXOT/jb/~0/mb9aO" }, { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/nWfes//iU/owV/~1/TqipWe+3cMc/tS" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "sed magna consectetur laborum", "highlightString": "nisi tempor" }, { "key": "officia id", "highlightString": "do nisi tempor" }, { "key": "nostrud", "highlightString": "ullamco exercitation labore magna" }, { "key": "culpa cupidatat enim commodo Ut", "highlightString": "incididunt dolore sit" }, { "key": "proident culpa Ut nostrud", "highlightString": "aliqua est" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "3a1f", "3a1f", "error_handler", "workflow_start" ], "complete": [ "e28f" ], "error": [ "e28f", "e28f", "workflow_end", "e28f", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "cillum sit dolore", "start_time": "1949-08-07T06:25:54.577Z", "end_time": 9316038.151411861, "finish_state": "success", "retrySettings": { "state": [ "error", "error", "error", "failure" ], "autoRetry": true, "limit": 61162567, "delay": 81591102, "count": 31931309, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "b5186a152cc23464734de0ee" ], "iterations": [ "e0Ae5867-D1cF-bc84-8d07-f3e4Cc1Ac399", "e0ddf5b1-7DcE-b7bE-9cdA-f201BAE4BC6d", "C95eeaeE-EEd8-Acab-B42F-18a2b1EfefB9" ] }, "3c12": { "actor": "$var.job.u9C", "groups": [ "default", { "_id": "10fa76bb20d66cb833ba78a3", "provenance": "sint ipsum ea", "name": "in dolor", "description": "minim Lorem ullamco culpa", "memberOf": [ { "groupId": "0458285f51709df2e8f79acd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut ut ullamco pariatur mollit" }, { "roleId": "tempor consequat in proident id" }, { "roleId": "laboris quis Duis reprehenderit" } ], "inactive": false, "_meta": { "created": "1953-06-29T11:30:14.37Z", "updated": "2013-06-05T05:47:39.888Z", "migrationVersion": -6383545 } }, "default" ], "iterations": [], "x": 76760722.28172389, "y": -80371801.88759309, "gridCoordinate": { "x": 49153895.15340909, "y": 65625074.92045769 }, "name": "enim in sint", "location": "Adapter", "locationType": "aliqua", "app": "dolor", "canvasName": "dolor reprehenderit", "displayName": "cillum velit", "summary": "voluptate in", "description": "ad mollit id adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/~0/~0/ciIidhQy45" }, { "type": "encryption", "pointer": "/~0/~0/~0/~1" }, { "type": "encryption", "pointer": "/~0/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in", "highlightString": "cillum occaecat Duis qui" }, { "key": "qui tempor deserunt aliqua nisi", "highlightString": "aute esse pariatur enim" }, { "key": "nostrud Ut", "highlightString": "ullamco sed aliqua" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_start" ], "error": [ "3a1f", "3a1f", "error_handler", "error_handler", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "qui", "start_time": "1951-12-27T13:27:28.316Z", "end_time": -20951237.221902415, "finish_state": "error", "retrySettings": null, "type": "automatic" } }, "parent": { "job": "ut nisi in deserunt ex", "task": "eu", "iteration": 72281572.14684582, "element": 60466408.328807265 }, "errorHandler": null, "groups": [ "a0758cf1a9118ea15bc5d977", "default" ], "watchers": [ null, "Pronghorn", "389de22899334fa614c85b11" ], "metrics": { "start_time": -66880628.83130952, "progress": 0.28402971169580815, "end_time": -24632414.567200735, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }