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,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 imported 3 of 4 documents", "data": { "_id": "f3cef49f504ee5c6a681f026", "font_size": -16556624, "type": "resource:action", "created": "1955-11-13T08:08:53.069Z", "last_updated": "1991-03-05T03:10:37.954Z", "createdVersion": "956160755.209214367.35-0747.00277.268", "lastUpdatedVersion": "5522.8309.6109070", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 10455820, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -67898316.96598761, "sla": 59700822.651996166, "decorators": [ { "type": "encryption", "pointer": "/~1/VIRF-n/~0/~1" }, { "type": "encryption", "pointer": "/~0/~1/~1" }, { "type": "encryption", "pointer": "/Wy4jJo/aCb4hi/f0z/y/~1/~1/~1/~1/gY8QIw/BYci6vgfjK" }, { "type": "encryption", "pointer": "/tW6T" }, { "type": "encryption", "pointer": "/gtz.M,/AsaC" } ], "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 }, { "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": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "eiusmod est magna qui officia" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "49a6bf8bb4106073e4044c42", "e3108fdab19f4ee7af0d33f1" ], "validationErrors": [ { "keyword": "anim consequat reprehenderit magna", "dataPath": "enim dolore laboris eu", "schemaPath": "cupidatat est officia", "message": "enim dolor nulla dolore ex" }, { "keyword": "voluptate in", "dataPath": "dolor consequat", "schemaPath": "nulla velit eiusmod sunt", "message": "Ut quis" }, { "keyword": "pariatur aliquip officia incididunt minim", "dataPath": "cupidatat", "schemaPath": "veniam tempor amet eiusmod", "message": "Duis ea laborum voluptate" }, { "keyword": "sed commodo do", "dataPath": "do officia sunt", "schemaPath": "laboris", "message": "occaecat" } ], "created_by": { "_id": "a6a3eb1d79ad715c631b744f", "provenance": "non ullamco ad proident do", "username": "quis commodo ut mollit", "firstname": "aliquip in dolore nostrud", "memberOf": [ { "groupId": "6dff8ed14fc50eb29c98c55e", "aaaManaged": true }, { "groupId": "5ac3f36eaa25d67873ef3f00", "aaaManaged": true }, { "groupId": "85e3e8a48c8ca9b75859a52b", "aaaManaged": false }, { "groupId": "9a7918ae884e7fc759aa58aa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor" }, { "roleId": "Excepteur cillum exercitation sit" }, { "roleId": "ipsum consequat nisi adipisicing" }, { "roleId": "consequat consectetur amet et Ut" }, { "roleId": "exercitation dolor id in ut" } ], "inactive": false, "lastLogin": "1947-12-02T01:18:00.643Z", "_meta": { "created": "1948-09-11T01:30:22.93Z", "updated": "1955-03-22T18:54:53.814Z", "migrationVersion": 73393609 }, "email": "ea quis ex" }, "last_updated_by": { "_id": "c093f49453a740cac960ff2b", "provenance": "officia eiusmod mollit", "username": "quis aliquip in", "firstname": "qui", "memberOf": [ { "groupId": "5ac9b14313646afa982bf3c9", "aaaManaged": false }, { "groupId": "e212722a89ee130d19aee56b", "aaaManaged": false }, { "groupId": "c9a54a88e84ad8bedd303240", "aaaManaged": false }, { "groupId": "c79de9de943fc6dd4f5bc664", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur elit" }, { "roleId": "ea culpa consequat anim" }, { "roleId": "incididunt" }, { "roleId": "Excepteur enim ipsum dolore cillum" } ], "inactive": false, "lastLogin": "1980-07-26T23:33:47.367Z", "_meta": { "created": "1962-05-26T17:24:23.931Z", "updated": "2007-01-15T06:16:26.462Z", "migrationVersion": -46263264 }, "email": "culpa velit sed Duis" }, "tasks": { "1": { "x": 95216340.07781383, "y": 69441305.87849161, "gridCoordinate": { "x": 96447759.83910686, "y": 30577893.497754395 }, "name": "culpa esse deserunt", "location": "Adapter", "locationType": "est aliqua consequat proident", "app": "cupidatat dolor culpa", "canvasName": "ullamco", "displayName": "Excepteur", "summary": "proident Excepteur", "description": "reprehenderit ad", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/ZpkwrbMZ/~1/uot1L/~0/QUQ+lii54O/R." }, { "type": "encryption", "pointer": "/P5Wykq/~0" }, { "type": "encryption", "pointer": "/pCvc1/n65,XME/~1" }, { "type": "encryption", "pointer": "/QeN3U1ebZ" }, { "type": "encryption", "pointer": "/xCyXS5/~0/~0/~0/WMHyT/Mu86j34Sjr9/zw8dcN" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "minim aliqua adipisicing in do", "highlightString": "sunt commodo ea non dolore" }, { "key": "nostrud ipsum", "highlightString": "esse dolore occaecat" }, { "key": "in", "highlightString": "id" }, { "key": "voluptate dolore do eu", "highlightString": "ipsum dolor esse" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f", "3a1f", "error_handler" ], "complete": [ "error_handler", "workflow_start" ], "error": [ "workflow_end", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "in irure", "start_time": "1997-07-27T15:27:05.358Z", "end_time": 99681628.91578197, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "e544ac5c54dbe56915b7a76a", "provenance": "est qui do", "name": "sed aute ad officia qui", "description": "deserunt pariatur quis voluptate", "memberOf": [ { "groupId": "82d8c4d12c5324ba88482a68", "aaaManaged": true }, { "groupId": "e75e275c17a12a5d23187c47", "aaaManaged": true }, { "groupId": "f38e6b02713b316b296d43a2", "aaaManaged": true }, { "groupId": "23ca3ebb78b25fe3ad094f61", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "minim aliqua" }, { "roleId": "voluptate officia ut culpa laborum" }, { "roleId": "eu sit adipisicing elit" }, { "roleId": "proident Duis nostrud" }, { "roleId": "sint laboris eiusmod Ut" } ], "inactive": false, "_meta": { "created": "2004-11-21T22:04:59.646Z", "updated": "1959-12-25T17:28:37.727Z", "migrationVersion": 9130335 } }, "adac8c2c4dcbda17d8534c25" ], "iterations": [ "0E8BfBCd-4a4E-A3DB-a69a-fA3cCBD081aC" ] }, "workflow_start": { "x": 10798653.032245427, "y": 68187051.74507335, "gridCoordinate": { "x": 12036905.073349044, "y": -15372773.96128589 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 59680767.207656294, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "default", "default" ], "iterations": [ "1De0d7B1-DD60-5e1a-61B2-caCA4aB7aBE9" ] }, "workflow_end": { "x": 85217738.09492984, "y": -49113053.75481363, "gridCoordinate": { "x": -27803705.194046065, "y": -75549048.79051314 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "workflow_end", "e28f", "e28f" ], "error": [ "workflow_end", "e28f" ] }, "metrics": { "end_time": 12540061.355980292, "run_time": -8196124.922640771 }, "groups": [ { "_id": "ebb78577e77c7eb713f43b5e", "provenance": "cillum anim mollit eu", "name": "anim pariatur occaecat", "description": "aliquip", "memberOf": [ { "groupId": "5a0446310b5f223d46983b4e", "aaaManaged": true }, { "groupId": "4f11b8154ef583457c611294", "aaaManaged": false }, { "groupId": "1eb2cbe6b79163bbe6ebea8f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id ut adipisicing consequat amet" } ], "inactive": false, "_meta": { "created": "1968-08-05T19:49:01.399Z", "updated": "2021-12-02T11:15:19.454Z", "migrationVersion": -89193931 } } ], "iterations": [ "72B6B1E9-4bFA-AD21-7581-dE8aEff1c555", "f52c2a9b-d47c-0217-4a61-DaaDA9176454", "EB2348f3-aE0C-141b-8aFe-97AFf600E862" ] }, "error_handler": { "x": -89596833.38698272, "y": -94113423.76744449, "gridCoordinate": { "x": 53123026.22460133, "y": 53097190.458945155 }, "name": "childJob", "location": "Application", "locationType": null, "app": "pariatur ullamco enim", "canvasName": "aliquip in sint cupidatat", "displayName": "nulla do tempor consequat", "summary": "exercitation ipsum ad in nostrud", "description": "veniam mollit consectetur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/imlH9/~1" }, { "type": "encryption", "pointer": "/a/r842YFy/~0/xpAwwHE+4Cp/~1/~1" }, { "type": "encryption", "pointer": "/~1/d/hm/W0.4VE/Q41WmoYU/~1/Tbf/cUc9JA/jUAdz" }, { "type": "encryption", "pointer": "/v37s/~1/QbTpGzVp/b96UbCLJk" }, { "type": "encryption", "pointer": "/~1/zt/PwQ3+i/~0/ijff/~1/oZYWNR8d" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "officia dolore", "highlightString": "proident velit culpa eu" }, { "key": "deserunt exercitation proident elit Ut", "highlightString": "reprehenderit laboris pariatur" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "error_handler", "e28f", "error_handler", "3a1f" ], "error": [ "error_handler", "error_handler", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "sed elit", "start_time": "1984-10-13T06:32:48.922Z", "end_time": -40338352.795495294, "finish_state": "failure", "retrySettings": { "state": [ "error", "error", "failure", "failure" ], "autoRetry": true, "limit": 89837968, "delay": 55013194, "count": 23800782, "finishedRetrying": false }, "type": "operation", "actor": "Pronghorn", "groups": [ "default", { "_id": "8bc3055b24ac29cd3f80e65b", "provenance": "cupidatat eiusmod", "name": "occaecat ea consectetur in commodo", "description": "adipisicing", "memberOf": [ { "groupId": "2cecc08f35ec8de866ce1bb3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id amet dolor" }, { "roleId": "laboris adipisicing" }, { "roleId": "sed veniam consequat consectetur" } ], "inactive": false, "_meta": { "created": "1947-08-17T16:53:22.775Z", "updated": "2015-01-03T00:17:48.548Z", "migrationVersion": -5117835 } }, "default", "default", "default" ], "iterations": [ "db07b9AF-54E1-C4d9-A093-AbC45A8FFDfe" ] } }, "parent": { "job": "sit nulla", "task": "sed irure tempor veniam", "iteration": 61783884.17971501, "element": -91228360.45671861 }, "errorHandler": { "x": 32272376.639518768, "y": 95215745.6086795, "gridCoordinate": { "x": -64106119.83194001, "y": 19182746.648427874 }, "name": "culpa in", "location": "Adapter", "locationType": "sunt ad in in", "app": "do qui nulla", "canvasName": "magna", "displayName": "in", "summary": "Duis adipisicing occaecat in", "description": "pariatur cillum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/E-f/mSVA7/bvZD,/KTtMX/~1" }, { "type": "encryption", "pointer": "/~0/~1/P/jrRUp/~1/YC-Enfaz/Ds/~0/iqin8h5GF//L4mqM" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "nostrud", "highlightString": "ea" }, { "key": "ullamco", "highlightString": "velit ex dolor ut" } ], "status": "canceled", "previous": { "incomplete": [ "e28f", "workflow_end", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "labore Lorem aliqua sit", "start_time": "1981-01-09T11:57:04.023Z", "end_time": 467014.84899687767, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default" ], "iterations": [ "e073D22f-D143-60dC-bcA5-95916AAeCe7F", "40e2AF7E-70FF-A609-9Db9-61c7f3bA3e94" ] }, "groups": [ { "_id": "71c19002c6bba632dc96bb97", "provenance": "minim sint esse ex dolore", "name": "veniam deserunt", "description": "enim", "memberOf": [ { "groupId": "e8e253ab5d677d1c5888e17d", "aaaManaged": true }, { "groupId": "f468592bf14057f15c55d3f7", "aaaManaged": true }, { "groupId": "0cbd49386bfee45548766558", "aaaManaged": false }, { "groupId": "2c5a305f22366084cfdac94e", "aaaManaged": false }, { "groupId": "405172406933989246c1b901", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut veniam" }, { "roleId": "in" }, { "roleId": "in culpa qui sunt" } ], "inactive": false, "_meta": { "created": "1960-05-24T09:41:52.941Z", "updated": "1960-11-10T08:48:25.12Z", "migrationVersion": -18218149 } }, { "_id": "6b232e9383bf0e73bd69ec97", "provenance": "pariatur ad", "name": "commodo veniam cupidatat eu", "description": "eu", "memberOf": [ { "groupId": "86e219facb3f3e33e4115888", "aaaManaged": false }, { "groupId": "584cde29dfbc99cf8db4b83b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris dolore laborum dolore" } ], "inactive": true, "_meta": { "created": "1960-09-05T13:35:28.302Z", "updated": "1987-09-29T20:04:27.697Z", "migrationVersion": -47116984 } }, "default" ], "watchers": [ "b80259220a788c012082a058", "Pronghorn" ], "metrics": { "start_time": -70790979.73823792, "progress": 0.5734926608028059, "end_time": 16442107.448075876, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }