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": "_id,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": "89e99300c04d7c482cf458e9", "font_size": 78945012, "type": "resource:action", "created": "1992-08-29T00:31:17.251Z", "last_updated": "1983-05-09T01:32:57.032Z", "createdVersion": "876206763.2591.306172248-9839.1621.2.594662511", "lastUpdatedVersion": "6.47.59-9496.58.6577440.84581283303", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 63184216, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -16192118.197607636, "sla": -58157237.07730607, "decorators": [ { "type": "encryption", "pointer": "/hTDf-/eBY4tp/~0/~1/~1/KlvBjs/e/X/~1" }, { "type": "encryption", "pointer": "/~1/~0/rU5bxLv8zn/~0/Ei/~0/~0/KPayEC3ccN/~0" }, { "type": "encryption", "pointer": "/~0/lUwTCiF/~0/~1/VDKX/~0/Q43s0KO2nL6/KNx6YvGp/~0" } ], "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 }, { "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": "proident" } ], "ancestors": null, "validationErrors": [ { "keyword": "dolor consectetur id dolore fugiat", "instancePath": "adipisicing voluptate id", "schemaPath": "ea consectetur eu cupidatat exercitation", "message": "labore minim officia Excepteur consectetur" }, { "keyword": "in", "instancePath": "ullamco fugiat in", "schemaPath": "aliquip", "message": "est" }, { "keyword": "nulla nisi do deserunt nostrud", "instancePath": "laboris", "schemaPath": "Ut tempor sunt", "message": "nulla nostrud deserunt elit" } ], "created_by": { "_id": "33f695f40aa1bf6ace7be276", "provenance": "exercitation", "username": "esse sed", "firstname": "sint", "memberOf": [ { "groupId": "ab9e72d6c7e9071458ff8b25", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet velit tempor sunt" }, { "roleId": "sit ipsum culpa irure occaecat" } ], "inactive": true, "lastLogin": "2005-10-11T00:53:14.091Z", "_meta": { "created": "2021-09-12T12:58:10.222Z", "updated": "2003-03-16T14:09:52.704Z", "migrationVersion": -23146626 }, "email": "nostrud" }, "last_updated_by": "Pronghorn", "tasks": { "39": { "actor": "Pronghorn", "groups": [ { "_id": "0d37f961d9b9c9818b116709", "provenance": "culpa tempor", "name": "aliqua enim laborum in", "description": "ipsum eu amet nisi dolore", "memberOf": [ { "groupId": "d9978ab5f9c0a02517257bba", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna Duis elit ex exercitation" }, { "roleId": "cupidatat voluptate sint mollit" }, { "roleId": "laborum eiusmod in proident" }, { "roleId": "consectetur sed dolor" }, { "roleId": "adipisicing et laborum" } ], "inactive": true, "_meta": { "created": "1962-05-08T14:50:12.605Z", "updated": "2013-06-02T02:27:58.671Z", "migrationVersion": 43659743 } }, { "_id": "76a10e39059cdab544a866f4", "provenance": "consectetur amet", "name": "culpa officia", "description": "eiusmod", "memberOf": [ { "groupId": "76bfbb67a7c75b7efef08884", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit" }, { "roleId": "consectetur cillum" }, { "roleId": "ullamco mollit amet" } ], "inactive": true, "_meta": { "created": "1988-07-20T23:30:55.557Z", "updated": "1996-07-28T00:01:30.74Z", "migrationVersion": 36042864 } }, "7c508ee2e20ccd444b093e41", "b93d0e5a5420ed0a6a036e00" ], "iterations": [ "b2f8F5cc-c7EE-Fe0a-3F8e-C2c2fe03FB3f", "0da3aF71-6fF5-d807-6EC7-3EeFc5AeCb76" ], "x": -60731235.83582336, "y": 65068511.43378967, "gridCoordinate": { "x": -68993851.97213936, "y": 13110645.553027526 }, "name": "pending", "summary": "amet laboris consectetur aliquip", "description": "sint" }, "workflow_start": { "x": 66713483.66921976, "y": -31680672.030447394, "gridCoordinate": { "x": -33319545.4847548, "y": 74915487.2669493 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 83238259.97168872, "finish_state": "failure", "user": { "_id": "06c56c88f41be5f7a202d3a8", "provenance": "aliqua laborum ea occaecat deserunt", "username": "ex", "firstname": "sint elit dolore adipisicing", "memberOf": [ { "groupId": "45e0edbcf5a1f6fc10ad327b", "aaaManaged": false }, { "groupId": "1b75fa44bd129107f9d5cdbd", "aaaManaged": true }, { "groupId": "30108d16de1a7be538d9cdd1", "aaaManaged": true }, { "groupId": "8ac4c49eadb0d7fd41068d45", "aaaManaged": true }, { "groupId": "6557170d48d19244082f7bb9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aute" }, { "roleId": "quis Duis voluptate consequat qui" }, { "roleId": "labore laboris deserunt sunt" }, { "roleId": "est" } ], "inactive": false, "lastLogin": "1980-01-08T16:05:44.42Z", "_meta": { "created": "1958-02-16T10:38:19.561Z", "updated": "1963-08-08T20:08:52.414Z", "migrationVersion": 99651955 }, "email": "ad" } }, "groups": [ "7da839c4730bfba26010c8a4" ], "iterations": [ "DC59E3ba-fc59-F0Dc-8deb-6BC0EaABecEa", "2De9eA60-b6ba-bf3e-aFb6-AACe971b5D7d" ] }, "workflow_end": { "x": 28264712.66982749, "y": 3783714.0732802004, "gridCoordinate": { "x": -87880416.0331251, "y": 34776744.33531171 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "e28f", "workflow_start", "3a1f" ], "complete": [ "3a1f", "workflow_start", "workflow_start", "e28f", "workflow_end" ], "error": [ "workflow_end", "e28f", "e28f", "error_handler" ] }, "metrics": { "end_time": 65688522.966376215, "run_time": 51904675.55720469 }, "groups": [ { "_id": "fc591ebc4e2b89bdf3007fed", "provenance": "Excepteur dolor in ipsum", "name": "laboris in", "description": "sed adipisicing consequat culpa dolor", "memberOf": [ { "groupId": "a796901545d51915f0d3d493", "aaaManaged": true }, { "groupId": "8c3e9070ebfb154a33f64bd3", "aaaManaged": true }, { "groupId": "8ede2421441404b2e1164e2d", "aaaManaged": true }, { "groupId": "648e94cccbb94973e66ea82b", "aaaManaged": false }, { "groupId": "0f3a5fbfaf9669ae036aa5bb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim sit ea culpa" }, { "roleId": "id laborum aute proident" }, { "roleId": "dolor" } ], "inactive": true, "_meta": { "created": "1948-12-31T18:58:21.096Z", "updated": "1963-04-25T02:08:10.888Z", "migrationVersion": 74375779 } }, { "_id": "58a2e1acc59cb5fed8d3acff", "provenance": "dolore culpa", "name": "aliquip", "description": "irure cupidatat ut", "memberOf": [ { "groupId": "08264c939f6949e7ac6005d5", "aaaManaged": true }, { "groupId": "5e23c9239d11038bcc8a654a", "aaaManaged": true }, { "groupId": "e4a153ae1f3f1ff4b0266207", "aaaManaged": true }, { "groupId": "ca2fbbbf9f956ee7cce83939", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do in eiusmod" }, { "roleId": "reprehenderit Lorem nulla velit" }, { "roleId": "proident Excepteur velit consequat" }, { "roleId": "culpa elit ut" }, { "roleId": "esse dolore aute" } ], "inactive": false, "_meta": { "created": "1952-07-10T08:09:15.462Z", "updated": "1967-06-05T17:52:24.976Z", "migrationVersion": 74279648 } }, "default" ], "iterations": [ "b96504d0-9FDC-d3AE-9D4E-ebbd003d78d5", "f38dFb8a-ee88-65e0-9aAF-b4B47ceEfEFC" ] }, "error_handler": { "x": -99617929.06298684, "y": -82927173.60724708, "gridCoordinate": { "x": -44605724.053293414, "y": 77349282.68446416 }, "name": "childJob", "location": "Adapter", "locationType": "aliquip sunt ut qui", "app": "aliqua reprehenderit", "canvasName": "minim", "displayName": "Ut", "summary": "non incididunt", "description": "anim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/VClQ-b9WZ/Ido7lpvf-E" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "veniam qui tempor", "highlightString": "nostrud" }, { "key": "incididunt", "highlightString": "velit non ut consequat" }, { "key": "est tempor non dolor", "highlightString": "elit qui" }, { "key": "Lorem esse", "highlightString": "magna" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f", "3a1f", "workflow_start", "3a1f", "3a1f" ], "complete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_start", "3a1f" ], "error": [ "workflow_end", "workflow_start", "error_handler", "e28f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "in cillum ut pariatur", "start_time": "2002-03-05T10:41:19.967Z", "end_time": 69193084.54657349, "finish_state": "success", "retrySettings": { "state": [ "error", "failure", "success", "error", "success" ], "autoRetry": true, "limit": 91291635, "delay": 85743118, "count": 46476024, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "default", "b899de4ff404c7263d4d7a8f", { "_id": "b8cf46068d3852cf755bdc1d", "provenance": "commodo sint est", "name": "nostrud Duis tempor sed nulla", "description": "ipsum eu", "memberOf": [ { "groupId": "af5c2f2ea7af1834f013b5d2", "aaaManaged": true }, { "groupId": "06bf049f9d36237640d1d850", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco Lorem magna est" }, { "roleId": "laboris pariatur ad sunt dolor" }, { "roleId": "consequat" }, { "roleId": "in voluptate ex" } ], "inactive": false, "_meta": { "created": "1967-10-21T13:05:30.403Z", "updated": "1970-07-12T23:01:45.247Z", "migrationVersion": -72342201 } } ], "iterations": [ "FAaBe4bB-ACc2-beb6-F33D-4398a8C0734C", "7dc3fD74-DF7E-b0bF-DfC9-919a64DfC6dD" ] } }, "parent": { "task": "magna sit", "iteration": -22222576.007986516, "element": 42862411.673500985 }, "errorHandler": { "actor": { "_id": "7698fa3f47200572ccf9c456", "provenance": "proident", "username": "incididunt ullamco esse", "firstname": "et", "memberOf": [ { "groupId": "2b6b17b8dddc91df4ee0f08c", "aaaManaged": false }, { "groupId": "0b4a80440d7003cb41729a07", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris mollit incididunt cillum aute" }, { "roleId": "anim laborum dolor" }, { "roleId": "incididunt do quis cillum Excepteur" }, { "roleId": "non amet est" } ], "inactive": true, "lastLogin": "1958-04-25T08:45:18.517Z", "_meta": { "created": "2006-01-03T10:35:54.459Z", "updated": "2018-02-27T10:23:06.463Z", "migrationVersion": -95881712 }, "email": "cupidatat Ut dolore" }, "groups": [ { "_id": "4b0c892a2281bc149d652a19", "provenance": "proident", "name": "minim esse Duis Ut adipisicing", "description": "officia dolore et anim sint", "memberOf": [ { "groupId": "5ac1ad65acda1b3b033addef", "aaaManaged": true }, { "groupId": "b18fa26b57809e8557cebb9d", "aaaManaged": false }, { "groupId": "a3101fb6d4bacb5d1f47ecdb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur fugiat Duis" }, { "roleId": "dolore ut" } ], "inactive": true, "_meta": { "created": "1962-04-13T11:11:25.955Z", "updated": "1977-05-02T09:27:43.615Z", "migrationVersion": -1637359 } }, { "_id": "87194f27b316c7180796dc83", "provenance": "ut dolore aute deserunt", "name": "et eu nostrud dolore", "description": "minim voluptate", "memberOf": [ { "groupId": "500557400504a97a643b9ec3", "aaaManaged": false }, { "groupId": "c3d6f0381ee107e012991fab", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse" }, { "roleId": "quis elit" } ], "inactive": false, "_meta": { "created": "1963-05-25T10:25:31.3Z", "updated": "1952-08-24T19:05:59.913Z", "migrationVersion": 39876526 } } ], "iterations": [ "b3F84C9d-a95E-80Db-E82C-FC54BEACFB10", "2418A8FF-DC8b-De7b-2dAF-BAF393317d1a" ], "x": 85718523.04621056, "y": 10906883.52443707, "gridCoordinate": { "x": 44010126.02335715, "y": 53320894.421316415 }, "name": "pending", "summary": "exercitation", "description": "nisi deserunt" }, "groups": [ "cfa5696cc06c73f36011a90e", "default", { "_id": "59347218c62ca3eb8f2ca3f1", "provenance": "laborum eu reprehenderit adipisicing", "name": "in dolore", "description": "dolore et", "memberOf": [ { "groupId": "0c0935008d45ad86addff655", "aaaManaged": false }, { "groupId": "12f808bb0dbc65ec5a6cbf16", "aaaManaged": false }, { "groupId": "d5436984791f92a55d7df60a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit" } ], "inactive": false, "_meta": { "created": "1946-07-04T12:47:19.413Z", "updated": "2013-12-06T14:34:50.478Z", "migrationVersion": 66903898 } }, "default", "349780f77ea90bfc0473362a" ], "watchers": [ { "_id": "861e7c43e6efc878d6828f08", "provenance": "dolore commodo qui veniam", "username": "mollit pariatur in ullamco", "firstname": "aute aliquip culpa", "memberOf": [ { "groupId": "5903c2799f2f045d67962690", "aaaManaged": true }, { "groupId": "8fbd82491d863e81f7f32717", "aaaManaged": true }, { "groupId": "fa98920a6b411a3803a8ca52", "aaaManaged": true }, { "groupId": "59d26660451cefd7538ed8d1", "aaaManaged": true }, { "groupId": "ad58b20dfdfd4da2425bee1e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ullamco cillum" }, { "roleId": "labore esse anim dolore" }, { "roleId": "et quis" } ], "inactive": true, "lastLogin": "2000-08-30T04:11:59.386Z", "_meta": { "created": "1967-09-18T15:22:55.899Z", "updated": "2017-10-12T13:18:17.899Z", "migrationVersion": -79526729 }, "email": "dolore fugiat cillum dolor qui" }, "Pronghorn", { "_id": "a791fc8d7257afa020380521", "provenance": "in laborum ullamco sed", "username": "ipsum aute dolore tempor incididunt", "firstname": "in ut in culpa", "memberOf": [ { "groupId": "a7d123bc34a379531f50a1e3", "aaaManaged": false }, { "groupId": "067a03a84575cfe0b78536f0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non ad dolor nulla" }, { "roleId": "tempor Ut" }, { "roleId": "consequat proident qui" }, { "roleId": "quis nostrud ut" } ], "inactive": true, "lastLogin": "1995-10-22T16:07:35.922Z", "_meta": { "created": "2017-09-22T23:56:13.22Z", "updated": "1992-03-12T23:37:52.442Z", "migrationVersion": 71264116 }, "email": "exercitation quis" }, null, { "_id": "d017b85faf22ed73b078722c", "provenance": "anim ea amet in", "username": "sunt ea tempor cillum", "firstname": "tempor commodo", "memberOf": [ { "groupId": "fe9c1a53f04263ba1a407a70", "aaaManaged": true }, { "groupId": "f0f26e68f0ba5891202eaf44", "aaaManaged": true }, { "groupId": "090b84bc191f0b050ecda486", "aaaManaged": false }, { "groupId": "fffe4f7064cd07d9942d58ab", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore ipsum commodo pariatur sint" }, { "roleId": "minim" }, { "roleId": "commodo" } ], "inactive": false, "lastLogin": "1979-04-04T18:00:28.189Z", "_meta": { "created": "1964-05-25T23:43:22.821Z", "updated": "2019-12-24T18:00:50.364Z", "migrationVersion": -49362208 }, "email": "ex minim anim est adipisicing" } ], "metrics": { "start_time": -24296441.86540538, "progress": 0.349141309069789, "end_time": 59735654.58157778, "user": { "_id": "33c79218d1f05a1e9fb1897f", "provenance": "Duis sint in", "username": "commodo Lorem in ullamco", "firstname": "irure non", "memberOf": [ { "groupId": "80597253aa4fe378c508c416", "aaaManaged": false }, { "groupId": "8ca714b207d5bbb5096ef115", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation" }, { "roleId": "cillum" }, { "roleId": "et nulla incididunt elit" }, { "roleId": "aliquip reprehenderit commodo sint tempor" } ], "inactive": true, "lastLogin": "1971-04-12T19:07:21.394Z", "_meta": { "created": "2009-09-17T09:25:34.466Z", "updated": "1963-06-11T13:41:20.691Z", "migrationVersion": -92644838 }, "email": "qui velit sit" }, "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }