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 created the requested item", "data": { "_id": "aca7c691fd241c8b67601200", "font_size": 2695500, "type": "resource:action", "created": "1961-01-26T13:33:04.741Z", "last_updated": "1986-06-27T05:55:53.256Z", "createdVersion": "31.4.163", "lastUpdatedVersion": "898.257.4-4637.58652031809.9.833", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 10425838, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -97736561.83457007, "sla": 87747012.47935504, "decorators": [ { "type": "encryption", "pointer": "/ufdAWjTcEM/~1/~0/~1/~0/hvwQoxV/HpR.0bM,/~0/~1/SE/~1" } ], "status": "error", "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": "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": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "cupidatat et fugiat nulla" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "dolor irure ut Duis" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "77ed2f33da3d64807e3735d0", "43e1ad3b01e4994ae5107b1f", "c28cacfd5d9257e1bdcb26b4", "40820c5d5b39624e3d08580a", "71b56be64ee467e191ae3d31" ], "validationErrors": [ { "keyword": "exercitation qui", "instancePath": "Duis ad velit", "schemaPath": "deserunt sit", "message": "cillum" }, { "keyword": "tempor", "instancePath": "qui", "schemaPath": "ex pariatur", "message": "sed laborum labore mollit Duis" }, { "keyword": "officia in est eu Excepteur", "instancePath": "dolore reprehenderit", "schemaPath": "tempor", "message": "anim Duis" }, { "keyword": "consequat sit ea", "instancePath": "consequat velit Excepteur", "schemaPath": "ipsum", "message": "ea reprehenderit" } ], "created_by": "fd7fc692e2be60cef494d2f7", "last_updated_by": { "_id": "e341be5600fc02b19b6e8ad8", "provenance": "labore laborum cillum ipsum id", "username": "labore ea officia cupidatat Excepteur", "firstname": "ipsum sed eiusmod officia", "memberOf": [ { "groupId": "60502eda482ed20644b37638", "aaaManaged": true }, { "groupId": "820138f317da26a46dcd918e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex eu consectetur" }, { "roleId": "fugiat qui" } ], "inactive": false, "lastLogin": "1980-03-30T00:10:07.192Z", "_meta": { "created": "1957-09-24T09:51:56.629Z", "updated": "1991-10-30T07:34:18.327Z", "migrationVersion": -9150484 }, "email": "in magna enim cupidatat dolore" }, "tasks": { "5": { "actor": "job", "groups": [ "9a8362b81b702a872b814a94", "5cddb3391fad68c3e928896b" ], "iterations": [], "x": 51715114.75178051, "y": -29692278.45230265, "gridCoordinate": { "x": -260084.68741984665, "y": -60376495.07787215 }, "name": "irure", "location": "Application", "locationType": null, "app": "voluptate ut qui", "canvasName": "reprehenderit", "displayName": "anim esse est in elit", "summary": "ut voluptate", "description": "aliquip ullamco esse proident ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/NH5/+qo+d/D/~0" }, { "type": "encryption", "pointer": "/nt/~1" }, { "type": "encryption", "pointer": "/a/5foqSCAYL/uR/wmMDzt7/rPrB/~1/APgrvygih/~1/~1/qu0M1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "enim", "highlightString": "Duis non" }, { "key": "veniam adipisicing sit qui Ut", "highlightString": "eu laborum exercitation consectetur" }, { "key": "aliqua ea cupidatat et Duis", "highlightString": "culpa" }, { "key": "do", "highlightString": "et dolor adipisicing ullamco" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "e28f", "workflow_start" ], "complete": [ "3a1f", "3a1f" ], "error": [ "workflow_end", "workflow_start", "workflow_end", "workflow_start", "error_handler" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "fugiat in sit ullamco", "start_time": "1984-06-03T13:14:57.392Z", "end_time": -3068284.026295036, "finish_state": "failure", "retrySettings": { "state": [ "error", "success", "failure", "success", "success" ], "autoRetry": true, "limit": 83832655, "delay": 95009992, "count": 8290183, "finishedRetrying": true }, "type": "automatic" }, "workflow_start": { "x": -70333228.28405559, "y": -91132378.35296904, "gridCoordinate": { "x": -73068458.67139882, "y": -20618958.659934655 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 9900383.754587278, "finish_state": "failure", "user": "ad4fc29c4606a9714a930d19" }, "groups": [ "default", "61159625f7024c286c2a16a1" ], "iterations": [ "fEcFffE1-f969-3CeC-ef8c-546C2011fd7f", "cBa5626f-b6a4-9D8d-bfE5-CEbCe4F84b2e" ] }, "workflow_end": { "x": -47763820.97691707, "y": 67938777.99465457, "gridCoordinate": { "x": -48530337.14349921, "y": -89993100.18063657 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "e28f", "workflow_start" ], "complete": [ "3a1f" ], "error": [ "3a1f", "e28f", "3a1f", "workflow_start" ] }, "metrics": { "end_time": 27929320.280758187, "run_time": -48194310.01300103 }, "groups": [ { "_id": "a0bf0e16163e81e654f11e75", "provenance": "do incididunt nulla aliquip dolor", "name": "dolore cillum proident", "description": "adipisicing Excepteur consequat", "memberOf": [ { "groupId": "09c18c976a0f245240371e69", "aaaManaged": true }, { "groupId": "f5522a967ece0d53e9e98b54", "aaaManaged": true }, { "groupId": "352cf047959b3b57496dba5a", "aaaManaged": true }, { "groupId": "6b25b7fddd354a564f02b251", "aaaManaged": true }, { "groupId": "a0ae18587b701b156371a071", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident" } ], "inactive": false, "_meta": { "created": "1996-11-24T01:49:00.837Z", "updated": "1967-06-25T11:05:20.706Z", "migrationVersion": 57112398 } }, { "_id": "c09adf47c59a603b0cb46c2a", "provenance": "ut ullamco id tempor", "name": "ullamco", "description": "eiusmod qui veniam", "memberOf": [ { "groupId": "21678c21cdea147ebc90c06a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "pariatur" } ], "inactive": false, "_meta": { "created": "1986-07-27T21:33:36.55Z", "updated": "2001-04-20T13:02:37.909Z", "migrationVersion": 5272000 } }, "b5f7f11644ce3fb7d32b0abb", "aa6a87ab9b225e35aab40b8a", "35647c23a7d9578dbc8f1c52" ], "iterations": [ "FF7CcfE5-3d72-B01a-E7aC-db3a422E4E32", "59Bf67Eb-C7aE-DCc3-d067-aE170041Af47" ] }, "error_handler": { "x": 69150359.77329344, "y": 64853953.11410484, "gridCoordinate": { "x": 2189988.667692378, "y": -39978114.98557504 }, "name": "childJob", "location": "Broker", "locationType": "ullamco quis nostrud", "app": "incididunt Excepteur dolore", "canvasName": "Duis in culpa quis cillum", "displayName": "ex ullamco laboris mollit culpa", "summary": "consectetur cillum irure", "description": "officia elit veniam qui eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ykD-R/~1/~1/mD./e" }, { "type": "encryption", "pointer": "/~0/~1/oX/8uR7/~1" }, { "type": "encryption", "pointer": "/~1/SfsDVY7SwQ/~0/~0/~1/~0" }, { "type": "encryption", "pointer": "/~0/jEl9LrA53/~0/~1/p.eLsu4/~0/~0/~0/rMny/B9,a,kGlc.x" }, { "type": "encryption", "pointer": "/a15" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eiusmod nostrud incididunt", "highlightString": "tempor amet veniam" }, { "key": "in elit pariatur nostrud enim", "highlightString": "laborum sint" }, { "key": "enim tempor", "highlightString": "mollit commodo consectetur" }, { "key": "aute eiusmod mollit", "highlightString": "ea veniam" } ], "status": "running", "previous": { "incomplete": [ "workflow_end", "e28f", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "error_handler", "workflow_start", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "amet in exercitation cillum Duis", "start_time": "1985-09-23T16:27:42.931Z", "end_time": 19280552.61032653, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "ef0929cf16f408d2817987e9", "provenance": "magna occaecat dolor amet", "name": "Excepteur nostrud cillum nisi Duis", "description": "nisi", "memberOf": [ { "groupId": "8b8a546d56a4ea5cef46e1ad", "aaaManaged": false }, { "groupId": "ff1b63405076d174b8283de6", "aaaManaged": true }, { "groupId": "40dfc7c4d858611498d62608", "aaaManaged": true }, { "groupId": "3d8bb80d6e1d100c3fb87683", "aaaManaged": true }, { "groupId": "e704d921e502ac3535ec8068", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laborum eu aute reprehenderit" }, { "roleId": "sunt" } ], "inactive": true, "_meta": { "created": "2016-02-07T10:08:59.292Z", "updated": "1977-07-26T01:32:20.633Z", "migrationVersion": 81305851 } }, { "_id": "2341c15269fbc48b096cf30e", "provenance": "minim", "name": "nostrud", "description": "fugiat quis", "memberOf": [ { "groupId": "a9f7f169d3d4542700b2307d", "aaaManaged": true }, { "groupId": "79a9fa760421b79c0a76bb51", "aaaManaged": true }, { "groupId": "ba44d4fcf9b8c4ebaad7a0f8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id" }, { "roleId": "magna ex" } ], "inactive": false, "_meta": { "created": "1959-12-07T14:32:57.633Z", "updated": "1996-10-10T04:53:41.88Z", "migrationVersion": -17390362 } }, { "_id": "50a55c6fc3710785c6dc8ea9", "provenance": "eu", "name": "sit exercitation", "description": "elit dolor", "memberOf": [ { "groupId": "0ad3a91f13faabf42cc61a5e", "aaaManaged": true }, { "groupId": "098844ea16bc4180b688d3cf", "aaaManaged": false }, { "groupId": "5d4df166f636b8a7e7f50f13", "aaaManaged": false }, { "groupId": "7e8ef61bf6837a09633ceed1", "aaaManaged": true }, { "groupId": "af95cbb7fcb7d90e0854e9d5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod ex pariatur ea nulla" } ], "inactive": true, "_meta": { "created": "1959-01-31T16:44:21.674Z", "updated": "2012-02-11T06:11:31.657Z", "migrationVersion": -79275150 } } ], "iterations": [ "cEcB8790-aDb5-CBec-ccec-212CDc2DDbfC", "fB2cc1cE-fB6e-F2A3-c895-bf9dA58Ce87E" ] } }, "parent": { "task": "consectetur", "iteration": 502087.7265880406, "element": -51369461.99790109 }, "errorHandler": null, "groups": [ "900bb12e31f408af438e2a38", "deec961f328e9ee7f020c2f7", "6e96195a932ca8186b404d31", "a4e3af6ce7e53ef334ee147a", { "_id": "7707c0bdce8ad438499f35d3", "provenance": "in ex proident laborum", "name": "pariatur aute quis nisi", "description": "ad consectetur et qui", "memberOf": [ { "groupId": "7fb5fe85e96c69dee465a3ae", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Excepteur sint fugiat" } ], "inactive": true, "_meta": { "created": "1953-01-26T15:04:31.255Z", "updated": "1991-12-08T23:21:47.266Z", "migrationVersion": 61086483 } } ], "watchers": [ null, { "_id": "e412f5ac1cf3e50371ce200f", "provenance": "magna in", "username": "ullamco in fugiat", "firstname": "Ut nulla ipsum", "memberOf": [ { "groupId": "1b1ab0da19758a9ae3d56c8f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor" }, { "roleId": "labore ut cillum id" }, { "roleId": "sit" }, { "roleId": "consequat Ut aute nisi ipsum" } ], "inactive": true, "lastLogin": "2011-11-10T15:53:59.309Z", "_meta": { "created": "1947-03-30T22:02:19.681Z", "updated": "1966-10-01T22:31:19.197Z", "migrationVersion": 7745083 }, "email": "non" } ], "metrics": { "start_time": 46316428.889309466, "progress": 0.37208084058104296, "end_time": 3782889.142060116, "user": "f30a4ce149e2a965912f088f", "owner": { "_id": "507ac3bb63d823cbcf9fa4c9", "provenance": "fugiat non ea dolore", "username": "occaecat sunt pariatur Lorem velit", "firstname": "ut officia incididunt sit", "memberOf": [ { "groupId": "12875d9e5ca26c5bc16980bf", "aaaManaged": false }, { "groupId": "25c306951160b95116445de3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt esse ad labore" }, { "roleId": "sit anim incididunt" }, { "roleId": "consequat voluptate sint pariatur" } ], "inactive": true, "lastLogin": "1976-12-04T23:13:51.03Z", "_meta": { "created": "2016-08-31T02:44:29.08Z", "updated": "2018-07-02T18:27:48.432Z", "migrationVersion": 55833454 }, "email": "tempor in irure magna" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }