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": "_id", "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": "fec89105745e2dccccf1e1d7", "font_size": 29028652, "type": "resource:action", "created": "1953-08-26T13:07:19.567Z", "last_updated": "2007-04-28T05:44:51.748Z", "createdVersion": "45.46500220798.183-6055.049.78612.04798726", "lastUpdatedVersion": "732.267.0766943", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -97727282, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 44088501.206587076, "sla": -45931337.56229517, "decorators": [ { "type": "encryption", "pointer": "/dbLtwGNre6/jwt1olYK/E/cL/~1/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/n2ON.G3.w8W/~1" }, { "type": "encryption", "pointer": "/~1/cZV/~0/~1/QhtBK/~0/aAnZSRyI5x/DbrcFXN/I//TNUIuvlJdeL" } ], "status": "paused", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "nisi consequat voluptate consectetur aliqua" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "irure do tempor" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "17cc585b0e27f6a81af48f3f" ], "validationErrors": [ { "keyword": "Lorem", "dataPath": "dolore labore", "schemaPath": "ea", "message": "ut dolor qui occaecat" }, { "keyword": "non labore Duis nisi", "dataPath": "sunt dolore mollit dolore ex", "schemaPath": "mollit commodo", "message": "ex pariatur sunt" } ], "created_by": { "_id": "7b8f92de9e921c72a6b29a32", "provenance": "sit nostrud", "username": "irure aute commodo dolore", "firstname": "nostrud", "memberOf": [ { "groupId": "73ff0f9f9c3d1205fcdf6e74", "aaaManaged": true }, { "groupId": "5232827033dfdb1cfd4b090b", "aaaManaged": true }, { "groupId": "5dfc804d82bff815a9582a54", "aaaManaged": true }, { "groupId": "58f1e4b63c980e7acf07eedf", "aaaManaged": true }, { "groupId": "3b8123b8fcce0cb5795c0c3b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "pariatur Excepteur quis" }, { "roleId": "officia consectetur dolore ut" } ], "inactive": true, "lastLogin": "1979-11-24T16:02:07.133Z", "_meta": { "created": "1985-08-20T09:52:02.476Z", "updated": "1979-03-02T11:17:53.755Z", "migrationVersion": -34303719 }, "email": "eu" }, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -97409036.35301676, "y": 85204552.71733814, "gridCoordinate": { "x": -99433080.74285455, "y": 48767801.13724059 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -57582368.85192334, "finish_state": "failure", "user": null }, "groups": [ "default" ], "iterations": [ "C7b803cC-C72F-daD3-6e8b-AD4fd5a0c131", "2516bddC-AaDC-0DDE-c729-bdD1DdF87F80" ] }, "workflow_end": { "x": -33968375.002879106, "y": 92799913.6606814, "gridCoordinate": { "x": 75271876.8737768, "y": 77541586.07882205 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "3a1f", "error_handler", "e28f", "workflow_start" ], "error": [ "error_handler" ] }, "metrics": { "end_time": -48652399.63331458, "run_time": -49844855.204911284 }, "groups": [ "e989f424997adf411daef0f5", { "_id": "a37c4f96f5ad25f6555c64e9", "provenance": "dolore aliqua adipisicing in laborum", "name": "cupidatat", "description": "sunt minim id commodo ut", "memberOf": [ { "groupId": "bc8ade48a19ae8aae74aad35", "aaaManaged": true }, { "groupId": "5aa7bd8c99c89d3eb24450da", "aaaManaged": true }, { "groupId": "3fa07917ddc99f0a541daef6", "aaaManaged": true }, { "groupId": "9be04d0e225b3bc0258bdb56", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris" }, { "roleId": "Excepteur ad non" } ], "inactive": false, "_meta": { "created": "1963-03-13T07:00:41.062Z", "updated": "2011-10-27T01:08:00.375Z", "migrationVersion": 63931291 } }, { "_id": "07f1b653c10beb5c93a65c52", "provenance": "qui est aliqua eiusmod", "name": "incididunt", "description": "ad et pariatur Excepteur", "memberOf": [ { "groupId": "aab2cefa6e90983529586b40", "aaaManaged": false }, { "groupId": "5ce287f90d0c1d234dd7bdc5", "aaaManaged": false }, { "groupId": "d54c849ee9a08633d7407574", "aaaManaged": false }, { "groupId": "79d937cdaa76d06ac914d574", "aaaManaged": false }, { "groupId": "ea8258b64457f626f91ed97d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor officia laborum velit" } ], "inactive": false, "_meta": { "created": "1986-06-30T12:18:57.051Z", "updated": "2014-08-29T01:14:34.606Z", "migrationVersion": 51498022 } }, "bdfa575804dad4c83d3b8142" ], "iterations": [ "91bbee25-CAB7-Ce7D-5BDE-288371aA1645" ] }, "error_handler": { "x": -19437500.351554558, "y": 26043957.887404814, "gridCoordinate": { "x": 56097640.65722039, "y": 85753995.45002806 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "eiusmod dolor irure aliquip est", "canvasName": "in irure Excepteur", "displayName": "Lorem do", "summary": "id eiusmod", "description": "eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/L/~1/~1/o77u2yC/~0/~1/RC/~1/CVK+0fapTiv/gRA,WmG.zF" }, { "type": "encryption", "pointer": "/~0/N4lqs7/~1/~1" }, { "type": "encryption", "pointer": "/~1/~0/Y/nXj/geGRm82J/kvtkYPS/~0/~1" }, { "type": "encryption", "pointer": "/lAyE,dupuS/~1/Sej2LtPW" }, { "type": "encryption", "pointer": "/~0/Ba//jxdLcEwVYh/~1/vH+" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "deserunt dolor in", "highlightString": "reprehenderit laborum nisi in nulla" }, { "key": "et nostrud magna in amet", "highlightString": "eiusmod sint ullamco" }, { "key": "tempor nulla", "highlightString": "incididunt" }, { "key": "et consequat sit", "highlightString": "qui cillum" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler" ], "complete": [ "error_handler", "workflow_end", "workflow_start", "error_handler" ], "error": [ "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "nisi magna exercitation irure cillum", "start_time": "1999-01-28T23:52:22.821Z", "end_time": -21127788.638377294, "finish_state": "error", "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 63687713, "delay": 10234140, "count": 10797913, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "cf8dc8e87c4035053bd0f2be", "provenance": "do laboris ipsum", "username": "aliqua ipsum fugiat", "firstname": "ut incididunt", "memberOf": [ { "groupId": "771ca2fa337ac47dbc353461", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim eiusmod anim commodo" }, { "roleId": "cupidatat elit" }, { "roleId": "sed" }, { "roleId": "ut consequat aliqua" }, { "roleId": "adipisicing nostrud dolore" } ], "inactive": true, "lastLogin": "1983-04-05T19:07:00.098Z", "_meta": { "created": "1949-04-01T07:05:43.035Z", "updated": "1988-06-28T06:51:28.938Z", "migrationVersion": 66915079 }, "email": "Lorem nostrud aliqua eu" }, "groups": [ "f669691142813acd6730ecd5", "4bef37b78c7700e72c55deff" ], "iterations": [ "aDD71Dd2-3BEF-FAC2-aa09-262eE6c79bcA", "3E219433-dFb0-6c3c-D5Ed-687bbdF50ce2", "C65DC57E-bbdE-F3f7-0ef4-0Cd7aae5e5c8" ] }, "6c": { "x": -95033415.02034512, "y": 58012950.637214184, "gridCoordinate": { "x": 86275093.42879301, "y": 16635854.983071536 }, "name": "ullamco", "location": "Adapter", "locationType": null, "app": "enim ex", "canvasName": "culpa occaecat quis non", "displayName": "officia", "summary": "fugiat et ea", "description": "dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/i.z2VI/~0/~0/~0/rs7/hI/~1/PLNjD/Wi36o,./gHv/bvw" }, { "type": "encryption", "pointer": "/MV15szChj/~0/C/~1/vT.UU-mX/~1/BAA/~1" }, { "type": "encryption", "pointer": "/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "non id ut est", "highlightString": "officia dolore id sint aute" }, { "key": "fugiat", "highlightString": "aute" }, { "key": "pariatur officia nisi", "highlightString": "velit pariatur anim" }, { "key": "exercitation veniam esse in", "highlightString": "in sed" }, { "key": "veniam", "highlightString": "nostrud" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f", "workflow_start", "error_handler", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "workflow_end", "workflow_end", "workflow_start", "3a1f", "error_handler" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "culpa", "start_time": "1957-09-15T12:09:12.945Z", "end_time": -67358361.91997606, "finish_state": "failure", "retrySettings": { "state": [ "error", "success", "failure", "error" ], "autoRetry": true, "limit": 68042716, "delay": 38641590, "count": 38281000, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "default", "default" ], "iterations": [ "4C506E17-6Df4-6C4F-DCD5-05abBf9ffBcB", "c1AFba6a-8384-94E7-ff73-95EE6Cecdb3D", "d6FaDbEc-f59b-Ce66-BCD5-8ec4DEACDDfF" ] } }, "parent": { "job": "quis sed in", "task": "officia", "iteration": 33892350.53883834, "element": 84106116.31619003 }, "errorHandler": null, "groups": [ "default", { "_id": "02f4bbfcda5bd47ab3fdd91a", "provenance": "reprehenderit consectetur non", "name": "quis dolor in", "description": "est nulla", "memberOf": [ { "groupId": "72f731c1c2e41bb1b121b36e", "aaaManaged": false }, { "groupId": "3067863c33dce34fa94e290e", "aaaManaged": true }, { "groupId": "1a2a1fa41155df1a34eb3bd5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et adipisicing in nisi consectetur" }, { "roleId": "qui" } ], "inactive": true, "_meta": { "created": "2023-08-16T03:19:11.132Z", "updated": "2007-04-29T21:05:47.22Z", "migrationVersion": 64202997 } }, "default" ], "watchers": [ "3dde565842ac3a102c702c46" ], "metrics": { "start_time": -66182100.60543035, "progress": 0.3370141113946221, "end_time": 68770132.56747526, "user": "52b4defe7bcfffb022234249", "owner": { "_id": "3db79049e00e753b95c8056c", "provenance": "laborum cillum occaecat", "username": "Excepteur sunt ea in aliqua", "firstname": "sunt nulla", "memberOf": [ { "groupId": "5db9798f13cb340dcc1a51dc", "aaaManaged": false }, { "groupId": "1b1a858f6abdb1dc446ae5a7", "aaaManaged": true }, { "groupId": "d6e40c1e5929e76f529f00d1", "aaaManaged": false }, { "groupId": "52f53ce8ca720b289511f8ac", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia velit laboris ad in" } ], "inactive": false, "lastLogin": "1961-02-04T01:37:10.603Z", "_meta": { "created": "1978-06-06T09:09:42.2Z", "updated": "2018-11-29T13:24:35.316Z", "migrationVersion": -8479167 }, "email": "aute fugiat pariatur ea" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }