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": "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 retrieved search results", "data": { "_id": "09ca4560c9a0af231af0181f", "font_size": -14871921, "type": "resource:action", "created": "1998-11-23T21:12:11.438Z", "last_updated": "1963-11-24T21:14:40.196Z", "createdVersion": "5.9001399.925489416-2691.81.94", "lastUpdatedVersion": "77357075.085.5185717877-1964.178039721.44772", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -63714019, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -70734439.01448897, "sla": -17557281.27110237, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/nV9ru9ag-v/NOpPJ/eHEi.-T/X.r0H/~0/Nj8OpraEmO/~0/On" }, { "type": "encryption", "pointer": "/InV72y7S7/~1/AA/~0/~1/R1Y390q/~1/~0/jR/Na+r0dv/Jkk" } ], "status": "paused", "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 }, { "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": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "ee0674b4d80ca00f859d398b", "400eb16eb54528dbd59127c8", "66dd5cb8e60ce0b33f47b0b4" ], "validationErrors": [ { "keyword": "irure ad in", "dataPath": "ut exercitation incididunt eu aliqua", "schemaPath": "veniam eu sunt in", "message": "mollit incididunt" }, { "keyword": "et commodo consectetur", "dataPath": "sit ea culpa ullamco dolore", "schemaPath": "consequat Duis aliqua", "message": "nostrud aliqua occaecat deserunt in" }, { "keyword": "ut ad ullamco consequat dolor", "dataPath": "dolor sed exercitation officia et", "schemaPath": "Excepteur", "message": "esse reprehenderit est do" }, { "keyword": "quis velit do eiusmod", "dataPath": "in", "schemaPath": "occaecat officia deserunt enim", "message": "cillum" }, { "keyword": "magna officia ullamco", "dataPath": "amet laborum dolore nisi laboris", "schemaPath": "dolore", "message": "dolore do nostrud sit minim" } ], "created_by": null, "last_updated_by": { "_id": "1b617e556dcbf2aa982399d6", "provenance": "et", "username": "nulla dolore", "firstname": "amet sint qui Ut", "memberOf": [ { "groupId": "a13353e9bdeed25b522b3337", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore sunt cupidatat eu pariatur" } ], "inactive": false, "lastLogin": "1993-02-08T20:43:27.32Z", "_meta": { "created": "1949-04-05T23:54:42.464Z", "updated": "2003-08-09T03:21:01.354Z", "migrationVersion": 55409945 }, "email": "esse voluptate in ex culpa" }, "tasks": { "workflow_start": { "x": -58390414.118031986, "y": -14710753.383127078, "gridCoordinate": { "x": 49389663.14834258, "y": 99243650.06814918 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 53966745.62132695, "finish_state": "success", "user": "322f6df2e72d569b6312b87c" }, "groups": [ "b8dc27a0809356bcc69aa2ad" ], "iterations": [ "bA52FE03-FF20-Bb9c-93Ff-1d4Bdd62b99A", "57B8F2dE-0594-4FcD-18F5-2a49b88bacf1" ] }, "workflow_end": { "x": -37953356.693165, "y": -61352403.765896745, "gridCoordinate": { "x": -54645381.269976534, "y": 55481690.6924707 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_end", "error_handler" ], "complete": [ "error_handler", "error_handler", "3a1f", "workflow_start" ], "error": [ "workflow_start", "error_handler", "e28f", "3a1f" ] }, "metrics": { "end_time": 81320223.31862819, "run_time": 18018298.446162894 }, "groups": [ { "_id": "6f29908f6def7571171f8018", "provenance": "in", "name": "ipsum", "description": "nulla aliquip eu", "memberOf": [ { "groupId": "7eb6fcc625c5f089f09a7177", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur reprehenderit aliquip ut" }, { "roleId": "consequat id" }, { "roleId": "ullamco incididunt aute" }, { "roleId": "occaecat" }, { "roleId": "quis" } ], "inactive": false, "_meta": { "created": "2020-07-19T17:05:21.305Z", "updated": "2000-09-10T20:01:31.468Z", "migrationVersion": -5700080 } }, "default", { "_id": "6cee523a046d2a4f12659298", "provenance": "laboris", "name": "in magna", "description": "cupidatat in est", "memberOf": [ { "groupId": "69c9be6778b7ace614aaaa35", "aaaManaged": false }, { "groupId": "4f13fb1fd6c32f8f5ebe8f61", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in do" }, { "roleId": "consectetur Duis" }, { "roleId": "esse ut fugiat Lorem anim" } ], "inactive": true, "_meta": { "created": "1970-01-11T21:03:54.131Z", "updated": "1972-10-28T19:02:19.761Z", "migrationVersion": 75504515 } }, "default" ], "iterations": [ "1D73dDF1-9b8F-5ec0-3f00-6B062825b8c5" ] }, "error_handler": { "x": 99635316.24465668, "y": 37560308.44265264, "gridCoordinate": { "x": -30661872.97941512, "y": 7759032.691422924 }, "name": "childJob", "location": "Application", "locationType": null, "app": "ea", "canvasName": "esse", "displayName": "irure cupidatat culpa ad", "summary": "consequat sed", "description": "aliqua Ut nostrud", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~1/shIPca" }, { "type": "encryption", "pointer": "/~0/YGIAB/~1/tseh8./hv/pUx-TZaE/~0/nI+rNL8" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "dolor esse ad", "highlightString": "labore dolor officia consequat" }, { "key": "dolor", "highlightString": "nulla do pariatur" }, { "key": "nisi magna officia", "highlightString": "deserunt Lorem" }, { "key": "sint", "highlightString": "veniam tempor id" } ], "status": "error", "previous": { "incomplete": [ "e28f", "workflow_start", "e28f", "workflow_end", "3a1f" ], "complete": [ "workflow_start" ], "error": [ "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "in cupidatat deserunt ea qui", "start_time": "1945-06-21T08:15:35.75Z", "end_time": -40572852.93776336, "finish_state": "failure", "retrySettings": { "state": [ "failure", "success" ], "autoRetry": false, "limit": 59783015, "delay": 42831861, "count": 24342077, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ { "_id": "385d2c4edcf2a0f7ffbe4063", "provenance": "magna ullamco ipsum nisi amet", "name": "aute nostrud sint amet", "description": "ea nulla occaecat velit elit", "memberOf": [ { "groupId": "d4354a42e10b67207f45fda8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna in consequat" } ], "inactive": false, "_meta": { "created": "1950-12-28T05:24:25.907Z", "updated": "1976-05-14T02:41:55.68Z", "migrationVersion": 49670573 } } ], "iterations": [ "Bbe98cE4-Dc16-08f1-Ab7B-58c6Fbc2A579", "83Fe36DF-fe9E-8BfD-5cE0-02fd046F80c5" ] }, "b": { "x": -39611273.970746815, "y": 98225120.53037778, "gridCoordinate": { "x": -82545598.58250183, "y": -7245108.386574954 }, "name": "dolor adipisicing Excepteur", "location": "Application", "locationType": null, "app": "officia Excepteur aliquip ex labore", "canvasName": "id sint magna velit ut", "displayName": "in", "summary": "enim officia consectetur laboris quis", "description": "aliquip nulla sit minim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/rR0/~1/~0/iO2/3/~0" }, { "type": "encryption", "pointer": "/jjs1rX/M/YGGVgbpwv/We9KT-5MlA/~0" }, { "type": "encryption", "pointer": "/eJbK-cKXYEp/~0/r1pHDxd/x/KGcbod/ne/ey" }, { "type": "encryption", "pointer": "/nA6pBVuH/~1" }, { "type": "encryption", "pointer": "/iORp5f5+w/v/b5zhMpi/N,MRCm9/E/~1/zcpqoULS5au" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "incididunt dolore quis nostrud", "highlightString": "voluptate nisi" }, { "key": "ex laborum occaecat", "highlightString": "enim velit minim est" }, { "key": "Lorem ullamco", "highlightString": "quis ipsum" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "e28f", "workflow_start" ], "complete": [ "error_handler", "e28f", "3a1f", "workflow_start", "error_handler" ], "error": [ "workflow_start", "e28f", "workflow_end", "e28f", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "laboris dolor", "start_time": "1962-03-11T07:46:43.451Z", "end_time": 40097684.6187011, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "fa7b964682ed2fa2cd668fe1", "default" ], "iterations": [ "a320bfb2-875D-6a07-d25d-1d9379a608aE", "004A5087-aC46-0e60-2232-33bb85f0Afb1" ] } }, "parent": { "job": "voluptate sit id aute sunt", "task": "ut qui", "iteration": -33239634.131982453, "element": 66238299.26486665 }, "errorHandler": null, "groups": [ "default" ], "watchers": [ "Pronghorn", "08fac3ddf16424f06ddb0e82" ], "metrics": { "start_time": 54145907.51376575, "progress": 0.7354677901514146, "end_time": 41406005.45316219, "user": { "_id": "8f4ea5eb5bc616492770bb14", "provenance": "voluptate Lorem laboris", "username": "cupidatat commodo", "firstname": "veniam Excepteur aute", "memberOf": [ { "groupId": "da818e92e4617b7242ae0976", "aaaManaged": true }, { "groupId": "e909797f8df78bae089ffad6", "aaaManaged": true }, { "groupId": "b4ea27563f5a3ff2c5ef0146", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "laboris est elit deserunt culpa" }, { "roleId": "amet aliqua dolor mollit do" }, { "roleId": "culpa ex proident" }, { "roleId": "aliqua nisi qui proident consequat" } ], "inactive": false, "lastLogin": "1967-10-25T06:30:50.525Z", "_meta": { "created": "1962-02-12T10:27:28.078Z", "updated": "1974-07-13T23:21:51.288Z", "migrationVersion": 20622414 }, "email": "laborum" }, "owner": { "_id": "a3610512ee76f96139c361e1", "provenance": "ut dolore Duis aliquip", "username": "deserunt ut est", "firstname": "deserunt proident", "memberOf": [ { "groupId": "55a4232b3c365d6d8a9647d1", "aaaManaged": true }, { "groupId": "49626543af118832c6d9fbf5", "aaaManaged": false }, { "groupId": "3965a3fcce65beee4e11269f", "aaaManaged": false }, { "groupId": "c74ea6af351f1328c17ff449", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia ut voluptate mollit aliqua" }, { "roleId": "nostrud aute" }, { "roleId": "sed" }, { "roleId": "pariatur ea et minim in" } ], "inactive": true, "lastLogin": "2021-02-23T09:20:04.896Z", "_meta": { "created": "1950-01-04T10:21:35.83Z", "updated": "1981-01-12T01:38:09.865Z", "migrationVersion": -68021311 }, "email": "incididunt ipsum" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }