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,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 created the requested item", "data": { "_id": "a78068646556044bb901b83d", "font_size": 5691859, "type": "resource:action", "created": "2010-04-30T13:02:54.664Z", "last_updated": "2021-08-07T21:48:25.506Z", "createdVersion": "7806023430.170575678.411648-6331.01851861.16515276", "lastUpdatedVersion": "4763965.5013771786.57708-9503.3533.9093", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 61859143, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 4561168.75424546, "sla": -94957810.78682354, "decorators": [ { "type": "encryption", "pointer": "/~0/fGQ/~0/Y164/~1/~1/lfSF" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0" } ], "status": "complete", "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": "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": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "in exercitation sed Lorem" } ], "ancestors": [ "5d1398bc153bc843b71e27af" ], "validationErrors": [ { "keyword": "deserunt velit", "dataPath": "ex laborum deserunt", "schemaPath": "esse aliquip", "message": "nulla sed adipisicing" }, { "keyword": "aute id", "dataPath": "magna aliqua do veniam", "schemaPath": "elit consequat ipsum", "message": "culpa veniam irure" }, { "keyword": "ipsum labore dolor", "dataPath": "adipisicing Ut commodo", "schemaPath": "commodo in", "message": "fugiat exercitation cupidatat do" }, { "keyword": "est exercitation id deserunt", "dataPath": "fugiat", "schemaPath": "consectetur", "message": "commodo Excepteur amet sed laboris" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -66185181.87750491, "y": -26346306.891447708, "gridCoordinate": { "x": -73544573.28669022, "y": -94669613.17429812 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 26189609.670351595, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "f22389686086aeb9ba589857", "default", { "_id": "2e8bd8e299809cc32fdb1209", "provenance": "elit", "name": "in sunt ea nulla", "description": "velit incididunt", "memberOf": [ { "groupId": "b0a96663379e00783b99d31a", "aaaManaged": false }, { "groupId": "bf46a92cdba02ecd125dd6a3", "aaaManaged": false }, { "groupId": "d0f2257ed37dd1915cfd7ddf", "aaaManaged": false }, { "groupId": "2425192ff552bcb560fd22d1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna cillum Ut ad" } ], "inactive": false, "_meta": { "created": "2008-10-13T02:08:56.591Z", "updated": "1957-09-05T10:23:53.452Z", "migrationVersion": -21945125 } }, { "_id": "0fb18b912c065e6f51e91b45", "provenance": "ipsum labore", "name": "et", "description": "dolore deserunt tempor consectetur", "memberOf": [ { "groupId": "b2bfd100e2d48bf759719848", "aaaManaged": false }, { "groupId": "0b6c645e7510d2837489b271", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "mollit est dolore ut" }, { "roleId": "Lorem commodo pariatur adipisicing ex" } ], "inactive": false, "_meta": { "created": "2006-09-14T12:12:23.903Z", "updated": "1962-11-10T02:08:17.594Z", "migrationVersion": 73738869 } }, "default" ], "iterations": [ "2ca6e9a2-D5e1-aC77-fB4F-327DdCadFF02" ] }, "workflow_end": { "x": 15419807.49180296, "y": -71518243.87416266, "gridCoordinate": { "x": -4423527.919532776, "y": 52786363.564391404 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "workflow_end", "workflow_start" ], "error": [ "workflow_start", "workflow_start" ] }, "metrics": { "end_time": 8300907.64894557, "run_time": 34751002.3706719 }, "groups": [ { "_id": "509bd6084b8d6499123919a8", "provenance": "sed do", "name": "id ea aute incididunt", "description": "non officia commodo mollit", "memberOf": [ { "groupId": "2ee51f2e86107c9e97f0f1f1", "aaaManaged": true }, { "groupId": "ccdb7c96b137e8423b19d91f", "aaaManaged": false }, { "groupId": "b918bb5af8bd4a057ee35760", "aaaManaged": true }, { "groupId": "7da9e9687a542c6b47536722", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo ipsum pariatur" } ], "inactive": true, "_meta": { "created": "1951-03-26T07:08:01.23Z", "updated": "1949-03-17T13:30:34.604Z", "migrationVersion": 2270329 } }, "default", "default", "6a0faee18d95179e7d31e107" ], "iterations": [ "9b049454-bb62-C5AC-7D86-16A973cD0E7E" ] }, "error_handler": { "x": 98535531.78380364, "y": 1510173.7112755328, "gridCoordinate": { "x": -62773556.036208734, "y": -80076658.3754525 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "ut", "canvasName": "Excepteur adipisicing in dolore", "displayName": "ut pariatur Duis in in", "summary": "veniam", "description": "veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/oaE/~1/y/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "exercitation", "highlightString": "reprehenderit do elit" }, { "key": "dolore voluptate nostrud", "highlightString": "esse ut sunt" }, { "key": "ipsum cillum officia irure", "highlightString": "fugiat ipsum dolore elit" }, { "key": "ullamco amet ipsum esse dolor", "highlightString": "qui culpa in" }, { "key": "laborum", "highlightString": "consectetur in quis ad commodo" } ], "status": "running", "previous": { "incomplete": [ "e28f", "3a1f", "workflow_start", "workflow_start" ], "complete": [ "error_handler", "e28f" ], "error": [ "3a1f", "e28f", "workflow_start", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "in", "start_time": "2020-10-08T20:35:35.046Z", "end_time": -97838981.20127513, "finish_state": "success", "retrySettings": { "state": [ "success", "error", "error", "success" ], "autoRetry": true, "limit": 11855796, "delay": 60234716, "count": 77776418, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "837efbb8bbe0ae3b064963ad", "provenance": "amet culpa", "name": "nulla anim aute ut Lorem", "description": "fugiat cillum in Lorem ut", "memberOf": [ { "groupId": "2821b48317b65b6007fc35f2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna" }, { "roleId": "irure aliquip" }, { "roleId": "quis in" }, { "roleId": "magna" }, { "roleId": "culpa aliqua et" } ], "inactive": true, "_meta": { "created": "1979-08-29T09:51:07.818Z", "updated": "1990-10-11T11:37:21.403Z", "migrationVersion": -22889557 } }, "4c258fe44911dd3efd0d59fa" ], "iterations": [ "bF1eb52a-bd9A-24f7-0457-DEB6eb393D8C" ] }, "dfa": { "actor": "job", "groups": [ "0ec7fef86f014c466ebed783", { "_id": "67fb06e9bb9690f4068ba8e2", "provenance": "id", "name": "dolor officia aliquip", "description": "esse consequat culpa", "memberOf": [ { "groupId": "0eda12c12aed8df52d03add7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "tempor" }, { "roleId": "sed id adipisicing amet" }, { "roleId": "veniam" } ], "inactive": true, "_meta": { "created": "1958-03-18T02:03:00.281Z", "updated": "2016-02-21T15:36:08.228Z", "migrationVersion": -80271711 } }, "95b2989bb73983a4bdd9a4f8", "default" ], "iterations": [ "BcDb608E-4F1b-c23e-C3e4-Fcd6dacFA71f", "aFEfd358-da2d-EeE3-A4AE-ec3Ad4DaAc44", "CBfeB4cA-69d6-05ED-5E6A-C7bd09c76a2C" ], "x": 55438.73390702903, "y": -69822347.47911815, "gridCoordinate": { "x": -93745413.92117965, "y": 69096964.52871287 }, "name": "cillum", "location": "Adapter", "locationType": "proident sunt", "app": "labore quis reprehenderit Lorem ea", "canvasName": "incididunt adipisicing", "displayName": "Ut sed ad officia", "summary": "est eiusmod id in proident", "description": "ut laborum ea", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/FMKth" }, { "type": "encryption", "pointer": "/~0/rNblLRz0/~0/X.VB/~1/~0/ixE-POX9/~0" }, { "type": "encryption", "pointer": "/~0/K-qrP-V/uyG1axz/PQWL/c,yQmpzx/dzIfFhDg0/~1" }, { "type": "encryption", "pointer": "/i/CF" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "Lorem nulla dolor do", "highlightString": "ipsum qui ut" } ], "status": "running", "previous": { "incomplete": [ "error_handler" ], "complete": [ "e28f", "error_handler", "error_handler" ], "error": [ "workflow_start", "error_handler", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "aliquip fugiat est reprehenderit", "start_time": "2004-06-01T18:56:09.38Z", "end_time": -53332370.05835718, "finish_state": "success", "retrySettings": null, "type": "manual", "view": "dolore dolor veniam" } }, "parent": { "task": "ut mollit et anim quis", "iteration": 43505683.870019585, "element": -52444399.12663785 }, "errorHandler": null, "groups": [ { "_id": "4d438744bf4d5329f6f73756", "provenance": "eiusmod veniam in in enim", "name": "eiusmod nostrud labore", "description": "in officia", "memberOf": [ { "groupId": "94d2b13025e7a7714d59aca3", "aaaManaged": false }, { "groupId": "74ae9beffcbb129a5683891e", "aaaManaged": false }, { "groupId": "c257f5151208b7a2db4c562e", "aaaManaged": false }, { "groupId": "0ee228731cac622a744fbf44", "aaaManaged": false }, { "groupId": "c84f76fd5a494ac069d238fa", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "deserunt nisi" }, { "roleId": "in" }, { "roleId": "incididunt Ut exercitation consectetur commodo" }, { "roleId": "mollit" } ], "inactive": false, "_meta": { "created": "1994-09-10T14:46:32.805Z", "updated": "2012-02-11T06:48:30.116Z", "migrationVersion": -89136702 } }, { "_id": "3c94303bba73a9a0a4b629bc", "provenance": "irure elit aute Ut amet", "name": "labore proident", "description": "nostrud", "memberOf": [ { "groupId": "0ecccd9ce4cf11297474ebff", "aaaManaged": true }, { "groupId": "c5f9ad808113648cd190f670", "aaaManaged": true }, { "groupId": "07602e1c00e744716b50684b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui aute officia irure dolor" } ], "inactive": true, "_meta": { "created": "2006-10-13T15:03:24.039Z", "updated": "1981-05-15T10:52:19.971Z", "migrationVersion": 12537974 } } ], "watchers": [ "0e6a11ef6886ee5e6514904e", "741b570101fa70bd74d75618", { "_id": "38f904b0f4331d6b5cb6d902", "provenance": "eu Duis in", "username": "Excepteur pariatur fugiat in incididunt", "firstname": "Ut tempor magna ullamco ut", "memberOf": [ { "groupId": "99ea5846b748197c3bc5e6ce", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor veniam laborum magna" }, { "roleId": "quis est mollit ut" }, { "roleId": "do eiusmod magna" } ], "inactive": false, "lastLogin": "1950-10-22T21:24:31.664Z", "_meta": { "created": "1995-02-03T22:38:42.835Z", "updated": "2009-07-12T21:08:26.735Z", "migrationVersion": -71362945 }, "email": "amet ullamco est" }, "Pronghorn" ], "metrics": { "start_time": 54803553.55844909, "progress": 0.9200446216827012, "end_time": 78728466.99808055, "user": { "_id": "f8182757405d84c0dd663465", "provenance": "fugiat dolore culpa in", "username": "laborum aliqua", "firstname": "nisi exercitation labore dolor", "memberOf": [ { "groupId": "857ef507b3f2d6b4c099fd52", "aaaManaged": false }, { "groupId": "50d08f32f915cd0e4559d4de", "aaaManaged": true }, { "groupId": "98da2c047e8bae42487cf0e7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore non Duis adipisicing" }, { "roleId": "sit enim anim officia voluptate" }, { "roleId": "irure" }, { "roleId": "est" } ], "inactive": true, "lastLogin": "1951-10-22T08:04:34.011Z", "_meta": { "created": "2018-07-16T18:38:27.732Z", "updated": "1960-02-07T22:55:14.269Z", "migrationVersion": -49521866 }, "email": "irure non sunt" }, "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }