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": "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": "7e7eb873fa5a66a039bc15f5", "font_size": 40655329, "type": "automation", "created": "1952-12-18T11:45:16.37Z", "last_updated": "2012-07-04T11:13:25.982Z", "createdVersion": "985010.6.36744950-0659.6353.92163602079.9812", "lastUpdatedVersion": "014935244.6675069.51", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 97236117, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 89852425.85369128, "sla": 19883224.732155696, "decorators": [ { "type": "encryption", "pointer": "/W+Y1yTa/nRYO" }, { "type": "encryption", "pointer": "/~0/kaQc7LtcN/~1/Ua/Ntc4FIb/~1/~1/~0/~1/sm" }, { "type": "encryption", "pointer": "/~0/~0/~0/J--iRpQ/R,7bW+/~1/~0" } ], "status": "running", "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": "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ullamco labore fugiat dolor magna" } ], "ancestors": [ "bf08576d267354102c39ab6d", "2c4e6370ee89334f684cfd84", "e5d18b99cd8d41171e637de2", "408c4f3d3cbf63d31f646e1a", "c2fa251b658cb397ab7036ce" ], "validationErrors": [ { "keyword": "velit", "dataPath": "in incididunt quis occaecat", "schemaPath": "nulla", "message": "elit minim cupidatat eu voluptate" }, { "keyword": "veniam cupidatat", "dataPath": "in anim deserunt", "schemaPath": "est ex elit minim", "message": "deserunt aliqua cupidatat" }, { "keyword": "sint est Duis non dolor", "dataPath": "fugiat officia Duis deserunt sunt", "schemaPath": "Ut esse", "message": "labore" }, { "keyword": "sunt incididunt", "dataPath": "sint et magna", "schemaPath": "est", "message": "proident voluptate incididunt Duis" } ], "created_by": { "_id": "309dd50296fa95919b92d847", "provenance": "est esse magna Ut irure", "username": "ut adipisicing est", "firstname": "quis id", "memberOf": [ { "groupId": "880f5d6c61e136e58043b304", "aaaManaged": false }, { "groupId": "cca22f0e200771ea71b79f56", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia nulla deserunt et" }, { "roleId": "ad et sunt mollit sed" } ], "inactive": true, "lastLogin": "1996-07-05T14:38:38.13Z", "_meta": { "created": "1980-04-09T17:17:40.338Z", "updated": "1965-05-31T23:20:45.173Z", "migrationVersion": 86754221 }, "email": "id aliquip et" }, "last_updated_by": "e154546a057e051b842bf881", "tasks": { "workflow_start": { "x": -21699146.070744574, "y": -15580632.080863044, "gridCoordinate": { "x": -47383536.57191365, "y": 42029303.17559543 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -54360846.25504609, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "7a4cfc70f386b4935efedea8", "default" ], "iterations": [] }, "workflow_end": { "x": -82864427.52285565, "y": 21683718.184740156, "gridCoordinate": { "x": -17027810.155890495, "y": 84761470.77375239 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "3a1f", "3a1f", "3a1f" ], "error": [ "workflow_end", "workflow_start", "e28f", "e28f" ] }, "metrics": { "end_time": -53986732.60101834, "run_time": 58400852.807867974 }, "groups": [ "default", "default" ], "iterations": [ "6C38FC3a-78e5-cE2a-0dF3-F4E541Ac7bBa" ] }, "error_handler": { "x": -55709588.61260844, "y": -97914683.21095094, "gridCoordinate": { "x": -72017432.4742977, "y": -31459211.712972164 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "ea proident Ut", "canvasName": "aliqua Excepteur nisi ex officia", "displayName": "voluptate culpa Ut laboris ut", "summary": "aliqua do qui id voluptate", "description": "esse", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/iLERW/~1/v6CJh/YF" }, { "type": "encryption", "pointer": "/b4jkF/~0/HZQ,iT7kE03/~1/seV/sP88y/MxLDKX0e,/~1/jX6jI/K/Swaja6v/~0" }, { "type": "encryption", "pointer": "/~1/~0/GNlDI/nhWD/c,/yHpdOIrx7b/~0/~0/dKksafyv/~1/Vs.Sdc54J" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "ut labore", "highlightString": "mollit nulla" }, { "key": "fugiat ea", "highlightString": "dolore ea proident" }, { "key": "reprehenderit Ut exercitation", "highlightString": "cupidatat" } ], "status": "error", "previous": { "incomplete": [ "e28f", "workflow_end" ], "complete": [ "e28f" ], "error": [ "3a1f", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "culpa eu cillum sunt", "start_time": "1989-02-08T07:52:05.287Z", "end_time": 66185817.33783117, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": { "_id": "62e3fa5db7c4f26c8ab8fbc3", "provenance": "ullamco pariatur dolore", "username": "quis", "firstname": "labore Lorem ut", "memberOf": [ { "groupId": "1b8d554d2511b433c7cd9386", "aaaManaged": true }, { "groupId": "1a43b8d025ae8a1242f4e694", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim velit enim" }, { "roleId": "Duis laboris" }, { "roleId": "ad ut labore" }, { "roleId": "elit" }, { "roleId": "consequat quis adipisicing" } ], "inactive": true, "lastLogin": "2014-07-24T14:07:18.409Z", "_meta": { "created": "1981-12-07T21:27:17.415Z", "updated": "1968-05-22T21:09:04.944Z", "migrationVersion": -53816747 }, "email": "nulla" }, "groups": [ "36e8c0a93d56060bc3a78b15", "default", "76b072c96fc1650ded2fd7ce", "af38f65c2b358cc5ad255507" ], "iterations": [ "C35c7886-50b4-f1BF-EC3B-2bCbB71C19cA" ] }, "a53e": { "actor": "job", "groups": [ "default", "default", "default" ], "iterations": [ "27Aaed2f-784c-C553-44ad-Eeebc65d3FaF", "6dEf231D-b1be-d61a-ea7c-10E303bfaE2e" ], "x": 50847966.83389476, "y": 56292001.0877814, "gridCoordinate": { "x": -74260249.23174825, "y": 6605860.333356574 }, "name": "labore", "location": "Adapter", "locationType": "do ipsum cupidatat irure", "app": "ex proident enim", "canvasName": "deserunt", "displayName": "mollit quis dolore ut", "summary": "aliquip", "description": "tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "deserunt pariatur et in", "highlightString": "Duis veniam" }, { "key": "eu", "highlightString": "nostrud" }, { "key": "veniam eiusmod in officia", "highlightString": "tempor in reprehenderit et" }, { "key": "exercitation voluptate", "highlightString": "sit Excepteur proident" }, { "key": "cillum esse in occaecat dolore", "highlightString": "aliqua ex laborum ut" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "error_handler", "workflow_end", "e28f" ], "complete": [ "workflow_end" ], "error": [ "workflow_end", "workflow_end", "error_handler", "3a1f", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "Excepteur id laborum", "start_time": "1980-05-29T15:29:46.455Z", "end_time": -46632510.66801011, "finish_state": "error", "retrySettings": { "state": [ "success", "error", "failure", "success", "error" ], "autoRetry": true, "limit": 89180305, "delay": 9009461, "count": 14477704, "finishedRetrying": false }, "type": "automatic" } }, "parent": { "task": "in esse nulla", "iteration": -65905838.18310272, "element": -29939658.4152897 }, "errorHandler": null, "groups": [ "8c34136ae2b369dff96182ec", { "_id": "ca5941bd38170eb01880c230", "provenance": "laboris", "name": "cupidatat", "description": "exercitation ut Duis dolore", "memberOf": [ { "groupId": "b330305ac462bd44fabccb6e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut dolor" } ], "inactive": false, "_meta": { "created": "1977-09-21T03:14:15.678Z", "updated": "1965-09-04T23:14:59.557Z", "migrationVersion": 4992333 } } ], "watchers": [ "22eec7c45411390b2de782e6", null ], "metrics": { "start_time": 37845788.856637776, "progress": 0.31703432744140203, "end_time": -4407176.839668825, "user": "Pronghorn", "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }