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": "accounts.createdBy" } }
{ "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": "dc47018f5ee4f0ecbead042e", "font_size": 97479850, "type": "resource:compliance", "created": "1970-04-26T13:29:54.762Z", "last_updated": "1962-12-21T19:43:38.265Z", "createdVersion": "84.38.5281058786", "lastUpdatedVersion": "8287.536.5024481697-6745.1.26958232.1", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 49476928, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 39956996.181696564, "sla": -39870345.6100566, "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~0/ELm0DTlZZls/~0/knGS./~0/Raot/E73vZz" }, { "type": "encryption", "pointer": "/~0/~0/jRE1/E0wRj/k" }, { "type": "encryption", "pointer": "/KY/~1/~0/L60XZZdI/OIfakf/~1/~1/q7kl6" } ], "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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName", "message": "commodo ut labore" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "et in dolore" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "nostrud in labore" } ], "ancestors": [ "9b708111f514073c9f1dc00c", "085740464539874fca3f21ea" ], "validationErrors": [ { "keyword": "ut sit commodo", "instancePath": "aute laboris", "schemaPath": "ipsum exercitation irure", "message": "ut esse velit" }, { "keyword": "in", "instancePath": "in fugiat ea incididunt", "schemaPath": "culpa Ut et dolor", "message": "aute sint fugiat occaecat" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "751": { "actor": null, "groups": [ "18be9cd4fdf24b668cfe1955", "aa9e38ed65ae63b2c28c821e" ], "iterations": [ "eB606aB3-b651-0a28-eDBb-8dF8f25Da0b1", "d65AcC5d-EcB8-fBC5-B3da-1F9aB95d5ce9" ], "x": -65895135.38242771, "y": 13269552.151899159, "gridCoordinate": { "x": 22084021.117022082, "y": -86314826.64795288 }, "name": "labore tempor", "location": "Adapter", "locationType": "minim", "app": "enim culpa consequat", "canvasName": "voluptate fugiat dolor Excepteur sint", "displayName": "Ut aliqua cillum", "summary": "sed", "description": "nulla ut aute", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/pSsETYn/~0/~1/i5kirJ+qR2/~1/~0" }, { "type": "encryption", "pointer": "/dAuMZLFfCN/q7BQZp/~0/oH" }, { "type": "encryption", "pointer": "/~0/lq6c/~0/jT68uzjb" }, { "type": "encryption", "pointer": "/~1/~0/fW7I6./~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "cupidatat consequat quis", "highlightString": "nisi Ut sed mollit tempor" }, { "key": "laboris", "highlightString": "consequat" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "3a1f", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "error_handler" ], "error": [ "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "minim dolore", "start_time": "1975-10-15T09:40:07.475Z", "end_time": 30557282.278642803, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "non irure nostrud magna" }, "workflow_start": { "x": -41927556.28444891, "y": -34224696.10802597, "gridCoordinate": { "x": 86952893.77252257, "y": 64620060.67284873 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 10691523.64861697, "finish_state": "failure", "user": null }, "groups": [ "2895186a2858c3028e134a59", "default", "default" ], "iterations": [] }, "workflow_end": { "x": 62947588.40560806, "y": 13200245.016115144, "gridCoordinate": { "x": 38346137.86938229, "y": 13983140.287247226 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_end", "e28f" ], "complete": [ "workflow_start", "3a1f", "e28f" ], "error": [ "workflow_start", "e28f", "3a1f", "workflow_end", "error_handler" ] }, "metrics": { "end_time": 78176341.87541306, "run_time": 29790489.485216126 }, "groups": [ "default", { "_id": "5e10d2a9a9be4a105bbd9b68", "provenance": "laborum culpa", "name": "velit qui sit", "description": "voluptate Excepteur", "memberOf": [ { "groupId": "fb80200107012dc74b4a367f", "aaaManaged": false }, { "groupId": "8ac1d6ae954df2897a1a20f7", "aaaManaged": true }, { "groupId": "de3a30cee22239bb0a7cbba2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "mollit ad irure Ut incididunt" } ], "inactive": false, "_meta": { "created": "1965-05-27T03:29:28.775Z", "updated": "2004-11-24T01:02:50.512Z", "migrationVersion": 3843962 } }, { "_id": "c246f5981b3ae5487e38f259", "provenance": "exercitation aliqua Ut in", "name": "ea cillum nulla", "description": "laborum in", "memberOf": [ { "groupId": "cbc4bbf37a1973a99d3621e3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam anim" }, { "roleId": "proident ea" } ], "inactive": true, "_meta": { "created": "1955-02-14T07:43:28.701Z", "updated": "1982-01-24T16:22:56.328Z", "migrationVersion": 19541885 } } ], "iterations": [ "Ef9dFEAA-CaA9-486e-dD53-d412fC4B9Bd7", "F21A9Ad9-a2cE-9F96-Cb65-b6157EEeECcc" ] }, "error_handler": { "x": 98684462.32308158, "y": 594725.8780112863, "gridCoordinate": { "x": -11612849.449323326, "y": -54922047.78544902 }, "name": "childJob", "location": "Adapter", "locationType": "magna veniam in", "app": "qui ullamco dolor", "canvasName": "consectetur ullamco elit sit culpa", "displayName": "amet", "summary": "cillum Duis commodo ut anim", "description": "non", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~1/m/N-LdXnxJxYv/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "est irure ad", "highlightString": "amet sunt occaecat eiusmod" }, { "key": "aliqua ex commodo Ut consequat", "highlightString": "irure ex sint pariatur" }, { "key": "veniam anim Duis qui esse", "highlightString": "elit velit reprehenderit Excepteur" }, { "key": "nisi adipisicing fugiat sit", "highlightString": "amet" }, { "key": "cupidatat", "highlightString": "minim" } ], "status": "error", "previous": { "incomplete": [ "3a1f", "workflow_end" ], "complete": [ "3a1f", "error_handler", "workflow_start", "workflow_end", "workflow_end" ], "error": [ "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "ad culpa commodo cillum deserunt", "start_time": "1952-11-15T21:27:24.634Z", "end_time": -32192318.824423, "finish_state": "error", "retrySettings": { "state": [ "failure", "success", "failure", "success", "error" ], "autoRetry": false, "limit": 17764026, "delay": 65962838, "count": 91718441, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "27034dc1ddb9e61c0e53c3d0", "4b039b92a6f8c36a731474d8", "default", "default" ], "iterations": [ "B488535C-5b90-B7Ac-2f45-ba5c0ec54D07" ] } }, "parent": { "task": "ut in id minim", "iteration": 57682838.98131022, "element": 96503614.15103146 }, "errorHandler": { "actor": "job", "groups": [ "default", "0866d4fa61deab2dff617ea1", "default", { "_id": "88396f079ec0c0b6447030c5", "provenance": "cillum deserunt in", "name": "id eiusmod sunt", "description": "sit do aliquip reprehenderit sunt", "memberOf": [ { "groupId": "0621e89058cd0c6ecf18f8df", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris commodo et" }, { "roleId": "eu nulla reprehenderit" }, { "roleId": "proident qui dolor exercitation consectetur" }, { "roleId": "dolor eu ullamco" }, { "roleId": "et ut fugiat ad dolore" } ], "inactive": false, "_meta": { "created": "1985-01-04T11:05:45.257Z", "updated": "1948-03-10T13:50:31.176Z", "migrationVersion": -93960487 } }, { "_id": "c009c74c9421c6578622c40c", "provenance": "id eu proident nostrud quis", "name": "adipisicing pariatur veniam quis", "description": "in et", "memberOf": [ { "groupId": "5b58517d7516c1b0fe501425", "aaaManaged": true }, { "groupId": "7a78a00460ae1ba0e6f8686d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint" }, { "roleId": "Duis aliqua Excepteur sit" }, { "roleId": "ex" }, { "roleId": "deserunt" } ], "inactive": true, "_meta": { "created": "1984-12-11T14:18:40.18Z", "updated": "2014-08-02T19:12:13.538Z", "migrationVersion": -27681859 } } ], "iterations": [ "bBfE32dE-cf38-A6Aa-4ABF-5Ac05Decb3Ef", "EA5DDf8e-8Fff-a2D8-AEcA-0dbcfADA8Ceb", "f449CEeE-3FE9-BbCA-4A54-0F82B68d83E9", "6eDDEaf0-fcD5-5aEc-f1bA-d0fdBFeFDe67" ], "x": 49012259.605799794, "y": 16011568.511415005, "gridCoordinate": { "x": 4439096.978687346, "y": -77950278.22900149 }, "name": "aute", "location": "Application", "locationType": null, "app": "fugiat Excepteur aliquip Duis", "canvasName": "ex veniam", "displayName": "ea non", "summary": "sit cillum minim in ullamco", "description": "nisi laborum Ut magna", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/iJs/+/~1/P/F5kE/~1/~0" }, { "type": "encryption", "pointer": "/~0/v" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "occaecat do", "highlightString": "reprehenderit" }, { "key": "qui nisi sint", "highlightString": "laboris Lorem velit occaecat et" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_end", "error_handler" ], "complete": [ "error_handler", "workflow_end" ], "error": [ "error_handler", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "dolore sunt incididunt in", "start_time": "2009-06-22T22:13:12.229Z", "end_time": 52735669.02813217, "finish_state": "error", "retrySettings": { "state": [ "success", "success", "success", "error" ], "autoRetry": true, "limit": 24674825, "delay": 2319692, "count": 54584226, "finishedRetrying": false }, "type": "manual", "view": "ad id cupidatat" }, "groups": [ "201d87ab401822a2e3da7323", "d50ddf0d31764d63525f2fa3", "c47dbafe15e30c0b2d96cf0f", "default", { "_id": "554bab0753228c0224ca4c86", "provenance": "minim voluptate ipsum", "name": "aliqua ut dolore voluptate", "description": "laboris", "memberOf": [ { "groupId": "acb97f893977d3f0eba04fa5", "aaaManaged": true }, { "groupId": "d251541089e7b7de6a906af8", "aaaManaged": true }, { "groupId": "724ebea099ff10e10eff2e30", "aaaManaged": true }, { "groupId": "8fa3e2b39463d08579450e2e", "aaaManaged": true }, { "groupId": "e114ac4dc92619e7c9c86080", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur non" }, { "roleId": "ut esse deserunt" }, { "roleId": "in consequat reprehenderit" }, { "roleId": "ex" } ], "inactive": true, "_meta": { "created": "1965-05-10T22:41:39.829Z", "updated": "1951-07-15T06:16:23.509Z", "migrationVersion": -88123051 } } ], "watchers": [ "Pronghorn", "543075072d060dde5df974e9" ], "metrics": { "start_time": -66393905.56827078, "progress": 0.9760426666390651, "end_time": 89102056.90485126, "user": null, "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }