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", "exclude": "_id", "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 created the requested item", "data": { "_id": "536730c9c2739ca3a611c526", "font_size": -14754442, "type": "resource:action", "created": "2015-09-11T13:58:27.9Z", "last_updated": "1990-08-24T13:57:17.294Z", "createdVersion": "94.23016917.924-5316.7490896.6501", "lastUpdatedVersion": "67759941.49093.0558204943", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 59397251, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 72534782.6803228, "sla": 27093422.318597287, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/~0/~1/eud7i/~1" }, { "type": "encryption", "pointer": "/d5MkCis02Hr/JM/kzG3MgqcX./~0/q60Ko0q+bX0/OEodQ/~0/S9Sa6S/~1" } ], "status": "running", "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "voluptate eu Lorem adipisicing" } ], "ancestors": null, "validationErrors": [ { "keyword": "sed", "dataPath": "Excepteur dolore Lorem", "schemaPath": "exercitation ipsum Excepteur sit in", "message": "nisi sed" }, { "keyword": "elit sit", "dataPath": "in eu dolor", "schemaPath": "Excepteur consequat do minim adipisicing", "message": "exercitation proident laboris ad" } ], "created_by": null, "last_updated_by": "bd7f574c08ce282019767b9b", "tasks": { "workflow_start": { "x": -73412786.53766769, "y": -72826735.44706962, "gridCoordinate": { "x": -21726103.144139543, "y": -11900790.540915772 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -45409369.2259399, "finish_state": "error", "user": null }, "groups": [ "default", { "_id": "a1368fd8b5eb02ae9523c3e6", "provenance": "cupidatat deserunt", "name": "exercitation veniam tempor voluptate non", "description": "ea adipisicing qui in dolore", "memberOf": [ { "groupId": "d955d3d35be2b0d17edc5892", "aaaManaged": false }, { "groupId": "17692f5d0ebd551a08e47116", "aaaManaged": false }, { "groupId": "830689d6797d8d9f80c7e3f0", "aaaManaged": true }, { "groupId": "cd11cfde5b5d4753018a221a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum Duis pariatur sit" }, { "roleId": "in minim anim" }, { "roleId": "eu nostrud ipsum sint ut" }, { "roleId": "proident laboris minim et sit" } ], "inactive": true, "_meta": { "created": "1980-07-01T09:00:38.249Z", "updated": "1946-09-03T16:37:08.355Z", "migrationVersion": -4045081 } } ], "iterations": [] }, "workflow_end": { "x": -18809119.293475926, "y": 74605413.96287206, "gridCoordinate": { "x": 61351430.15706211, "y": 18446507.990767643 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "error_handler", "3a1f" ] }, "metrics": { "end_time": 42274031.303179175, "run_time": -18399782.239448786 }, "groups": [ { "_id": "d7bdbb5d5247df43f16ac086", "provenance": "ut", "name": "ut dolor nulla", "description": "fugiat", "memberOf": [ { "groupId": "49ffa6c87754d09259892275", "aaaManaged": false }, { "groupId": "cd7ec9f3d4fff1720506c3e8", "aaaManaged": true }, { "groupId": "54a503e4f7a9a11f097ea58d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat do in aute" }, { "roleId": "ipsum incididunt dolore mollit labore" }, { "roleId": "cupidatat officia adipisicing in" } ], "inactive": false, "_meta": { "created": "1964-09-01T00:32:44.503Z", "updated": "1997-09-11T20:30:33.819Z", "migrationVersion": -34957320 } }, { "_id": "8601059699cd29bd2ca6c28f", "provenance": "velit amet irure reprehenderit in", "name": "reprehenderit", "description": "non do sint voluptate", "memberOf": [ { "groupId": "e0e699227dd0277f53c5a2d1", "aaaManaged": false }, { "groupId": "a2c3085e77d84ea26e5b09bd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation" }, { "roleId": "aliquip Ut aliqua nostrud" }, { "roleId": "qui eu proident mollit" }, { "roleId": "consequat" }, { "roleId": "sit labore nostrud" } ], "inactive": false, "_meta": { "created": "1958-04-14T15:59:07.065Z", "updated": "2014-07-27T14:33:00.357Z", "migrationVersion": -76583340 } }, "default" ], "iterations": [ "7Ee6Dcf0-0030-ee22-4C2A-A5F8c8e39a1C", "49cb0dBE-Db52-5F4C-b7BA-7621Fa3E04d2" ] }, "error_handler": { "x": -69897256.07889228, "y": 51029572.39943263, "gridCoordinate": { "x": 26024808.227156892, "y": -94583166.01773986 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "consectetur mollit Ut id", "canvasName": "officia irure commodo quis enim", "displayName": "ut", "summary": "ut in", "description": "exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/~0/dWsz08C/yLu+O3/yFrf/~0/~0" }, { "type": "encryption", "pointer": "/Va2X5BTY7iQ/x5SP/~0/~0/TO3t9rf9d" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "laboris irure", "highlightString": "Lorem" }, { "key": "adipisicing voluptate fugiat", "highlightString": "ut aliqua ad" }, { "key": "enim nisi elit eiusmod", "highlightString": "quis Ut voluptate" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f" ], "complete": [ "error_handler", "workflow_start", "workflow_start", "e28f", "e28f" ], "error": [ "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "in fugiat deserunt ipsum dolor", "start_time": "2011-02-15T04:34:51.536Z", "end_time": 82769040.94192606, "finish_state": "failure", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 15737710, "delay": 69882626, "count": 72491859, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ "default", "default", { "_id": "adf3bd783c3201aa352faa16", "provenance": "voluptate qui id exercitation dolor", "name": "deserunt incididunt mollit eiusmod", "description": "voluptate Lorem reprehenderit amet", "memberOf": [ { "groupId": "601d303350b9b4b7817f325b", "aaaManaged": true }, { "groupId": "f19cd81275adefdf1d4a3752", "aaaManaged": true }, { "groupId": "c93f4575de433406fdd8e4c0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit labore tempor" }, { "roleId": "adipisicing" }, { "roleId": "et exercitation" }, { "roleId": "dolore in" } ], "inactive": true, "_meta": { "created": "1966-07-28T17:54:27.952Z", "updated": "1950-03-16T16:43:40.59Z", "migrationVersion": -70579334 } }, "default" ], "iterations": [] }, "a225": { "actor": "job", "groups": [ "default", "b7ceaef1feecaeaeea3ccde0", { "_id": "b1e8d4eedbe9624cc9c44b00", "provenance": "enim mollit minim in commodo", "name": "fugiat tempor Ut do sed", "description": "esse culpa aliqua proident", "memberOf": [ { "groupId": "93e81333d7794ac2224404e6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco velit dolore" }, { "roleId": "occaecat aliqua tempor" }, { "roleId": "sint" }, { "roleId": "cupidatat commodo tempor dolore labore" }, { "roleId": "culpa" } ], "inactive": true, "_meta": { "created": "1978-01-27T22:31:00.193Z", "updated": "1965-08-21T20:18:21.575Z", "migrationVersion": 69970029 } } ], "iterations": [ "f9D7A1Cd-80FB-932E-A6AC-7EBF1AA6ca92" ], "x": -14036080.25361462, "y": 91337561.90613526, "gridCoordinate": { "x": 65608556.70433372, "y": -71904147.66918471 }, "name": "culpa", "location": "Application", "locationType": null, "app": "ex fugiat", "canvasName": "officia nulla ex", "displayName": "et dolore nulla dolore cupidatat", "summary": "occaecat elit in", "description": "ad dolore fugiat exercitation in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/XWX6Wj6/~0/~0/~0/~1/v6svNFvjU/~1/~0" }, { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~0/aCit2e.Z1-" }, { "type": "encryption", "pointer": "/~0/dHhOYwt/~1/DUB8PVDMY/~1/~1/~1/~0/mRFOakyv0V7/~1/~1" }, { "type": "encryption", "pointer": "/gZAh/~1/~1/KPnqfYi/~1/~0/~0/~0/CWu/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "mollit et", "highlightString": "culpa ut quis sed dolor" }, { "key": "non minim ut aliqua do", "highlightString": "dolor ad laboris Ut amet" }, { "key": "sit consequat velit dolor", "highlightString": "in enim ut dolor" }, { "key": "voluptate ut commodo sit dolor", "highlightString": "aliqua enim" }, { "key": "dolor non Excepteur commodo", "highlightString": "elit cupidatat velit sint" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "e28f" ], "complete": [ "3a1f", "workflow_start", "workflow_start", "workflow_start" ], "error": [ "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "qui esse veniam cillum", "start_time": "1996-07-11T09:17:34.269Z", "end_time": 28815562.70070678, "finish_state": "failure", "retrySettings": { "state": [ "failure", "success", "success", "success", "success" ], "autoRetry": false, "limit": 19090657, "delay": 92876108, "count": 94650421, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "task": "id voluptate labore", "iteration": -92493160.98626323, "element": -10287370.279113933 }, "errorHandler": null, "groups": [ "9073abb4918c24751ef204ce", "default", { "_id": "23ee87a12805aeff3315ea01", "provenance": "culpa dolore", "name": "proident exercitation Ut dolor", "description": "ullamco sunt sint", "memberOf": [ { "groupId": "833b64c91f65843a923c87d2", "aaaManaged": true }, { "groupId": "986bc6e557aafbc16706b333", "aaaManaged": false }, { "groupId": "7ef83a38195fd628ae7fca73", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut voluptate" }, { "roleId": "ut Lorem sit cupidatat est" }, { "roleId": "minim" }, { "roleId": "sunt nisi quis enim" }, { "roleId": "proident sint magna et laboris" } ], "inactive": false, "_meta": { "created": "1988-08-17T16:23:42.698Z", "updated": "1974-01-20T21:12:04.83Z", "migrationVersion": 38806356 } }, "default" ], "watchers": [ "Pronghorn", { "_id": "4b6916dca342e0abb6fc7d3c", "provenance": "incididunt", "username": "ipsum ullamco consequat enim", "firstname": "pariatur do laborum tempor", "memberOf": [ { "groupId": "0c1a65ee8c733a1c9370053f", "aaaManaged": false }, { "groupId": "8c827a97b22e0186a74fa256", "aaaManaged": true }, { "groupId": "a33d8721c3ba4fd774c11be0", "aaaManaged": true }, { "groupId": "97c6283d0c49f66bdd5c9575", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat" }, { "roleId": "do exercitation Ut" }, { "roleId": "eiusmod" }, { "roleId": "laborum cupidatat enim" } ], "inactive": true, "lastLogin": "1971-01-24T12:23:20.349Z", "_meta": { "created": "1968-01-17T21:09:13.563Z", "updated": "1982-09-25T06:42:36.133Z", "migrationVersion": -15631070 }, "email": "Lorem dolore commodo ut fugiat" }, "729d0cc2b6f628b1694e0788", null, "aa8ba2274dfc3b987bc701b8" ], "metrics": { "start_time": -74580919.04689379, "progress": 0.29499064615973025, "end_time": 97058835.18572006, "user": "Pronghorn", "owner": "3ae6e5aeab271a6656984c95" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }