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": "80ac9d8f853ed7464fb901d6", "uuid": "ee0a8884-2f1c-a3ff-8eae-4690d85d87e0", "font_size": 34856798, "type": "resource:action", "created": "1982-11-26T13:26:43.666Z", "last_updated": "1966-11-06T14:53:07.737Z", "createdVersion": "8.9.1971025537-3243.7991.7124236", "lastUpdatedVersion": "44.98371970.04406721028", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -87623542, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 43060172.48780933, "sla": -76541970.82801293, "decorators": [ { "type": "encryption", "pointer": "/NPYTGUof/Y/dmPj4P/hY/V5Tl7ex+a/KfK3/Qta/~0/IE" }, { "type": "encryption", "pointer": "/~1/xU/p/N5h-3/~0/z/Q3gd7/~1/~1" } ], "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": "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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName", "message": "enim voluptate" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "laborum" } ], "ancestors": null, "validationErrors": [ { "keyword": "labore pariatur enim ullamco mollit", "instancePath": "mollit sint eu", "schemaPath": "velit ullamco", "message": "reprehenderit officia consectetur commodo Lorem" } ], "created_by": "cef0a68d64302614aa831441", "last_updated_by": "Pronghorn", "tasks": { "6": { "actor": null, "groups": [ "db295e4a94bacbec4d6ea9be", "d44f96f15bca0220f417b28a" ], "iterations": [], "x": -97292031.95734061, "y": -62757574.42383387, "gridCoordinate": { "x": 7886630.38683483, "y": 30925253.583208963 }, "name": "pending", "summary": "aute cupidatat velit occaecat dolor", "description": "laboris" }, "workflow_start": { "x": -16017867.911302686, "y": 39750721.87632698, "gridCoordinate": { "x": -61625411.90468724, "y": -45299612.2298666 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -38788116.408050224, "finish_state": "success", "user": "85d42cda71ac0c27853f20bb" }, "groups": [ { "_id": "93f613b5424e0bac9919c59b", "provenance": "elit laborum veniam", "name": "aute veniam", "description": "esse exercitation", "memberOf": [ { "groupId": "d3d10a1b90c3abe0f5469a63", "aaaManaged": true }, { "groupId": "a2b36ac26b9ed1377e866df5", "aaaManaged": true }, { "groupId": "785c04f8c989245572c58767", "aaaManaged": true }, { "groupId": "efdd9f8df99c802c9c60622a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui elit" }, { "roleId": "adipisicing ut laboris" }, { "roleId": "proident Excepteur dolor" }, { "roleId": "commodo ipsum reprehenderit ut cupidatat" } ], "inactive": true, "_meta": { "created": "2010-04-01T19:15:51.131Z", "updated": "2024-09-16T07:17:10.485Z", "migrationVersion": 10632342 } } ], "iterations": [] }, "workflow_end": { "x": 73364055.40420765, "y": -51481743.16995813, "gridCoordinate": { "x": 61632807.26304051, "y": 27915460.048882276 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "workflow_start" ], "complete": [ "3a1f", "workflow_end", "workflow_end", "3a1f" ], "error": [ "workflow_start", "workflow_start", "workflow_start", "3a1f", "workflow_start" ] }, "metrics": { "end_time": 84359384.9931179, "run_time": 9963314.755288526 }, "groups": [ "6ebd23be61c24da464fb2e45", { "_id": "a5c9ed6e9f9697863fec95d3", "provenance": "ut irure", "name": "adipisicing quis", "description": "dolor", "memberOf": [ { "groupId": "573082a0bb453026950e0597", "aaaManaged": true }, { "groupId": "45ecc797aba9c3270d748d43", "aaaManaged": false }, { "groupId": "037f6002cb023b20dabf1b16", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat non Excepteur" }, { "roleId": "tempor enim culpa" }, { "roleId": "deserunt in" } ], "inactive": false, "_meta": { "created": "1987-02-20T20:42:42.384Z", "updated": "1980-10-06T00:15:36.005Z", "migrationVersion": -96007969 } }, "f1d92a82d7f6aaa48a3a72f9", { "_id": "be04f07830b9020998a12182", "provenance": "sed magna adipisicing", "name": "commodo Excepteur incididunt tempor minim", "description": "irure proident enim", "memberOf": [ { "groupId": "836f4ac2b909fcfc9803125b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum" }, { "roleId": "Excepteur velit" }, { "roleId": "cillum exercitation tempor sed" }, { "roleId": "aute dolore Ut" }, { "roleId": "eiusmod Ut" } ], "inactive": false, "_meta": { "created": "1969-11-02T11:40:01.304Z", "updated": "2012-03-11T01:08:05.638Z", "migrationVersion": 31638746 } }, "default" ], "iterations": [ "bbfDC74E-3cfF-8788-7160-c6FbFeC3F45B" ] }, "error_handler": { "x": -67702428.30451582, "y": -64596156.05283502, "gridCoordinate": { "x": 12332628.997149885, "y": 2129000.21728833 }, "name": "childJob", "location": "Adapter", "locationType": "magna", "app": "nisi aliquip", "canvasName": "non eu Lorem", "displayName": "Lorem deserunt quis laborum", "summary": "eu quis", "description": "occaecat qui esse proident cupidatat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "exercitation adipisicing", "highlightString": "labore" }, { "key": "ullamco fugiat pariatur", "highlightString": "irure sint id Ut" }, { "key": "do sit", "highlightString": "ipsum tempor" }, { "key": "nostrud irure aliqua", "highlightString": "ex amet eu" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "3a1f", "error_handler", "error_handler" ], "complete": [ "error_handler", "workflow_start", "error_handler" ], "error": [ "3a1f", "workflow_end", "e28f", "error_handler" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "labore in pariatur", "start_time": "1998-10-06T23:26:20.718Z", "end_time": -497669.03800567985, "finish_state": "success", "retrySettings": { "state": [ "failure", "success", "failure", "success", "error" ], "autoRetry": true, "limit": 63982218, "delay": 69638999, "count": 45184295, "finishedRetrying": false }, "type": "operation", "actor": "6150e2d710c61a54b4e7b8a0", "groups": [ { "_id": "2c54d40d17d5afd2b82ddac0", "provenance": "id dolore", "name": "veniam dolore culpa ex", "description": "Duis sint elit ut", "memberOf": [ { "groupId": "93ce35ccd13c159abb22659d", "aaaManaged": true }, { "groupId": "8d4ffcf6516a85721113e1c2", "aaaManaged": false }, { "groupId": "4f1a57c68ef2adb05b201f5b", "aaaManaged": false }, { "groupId": "ad49d1b4dfb2d0b4857224e9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliquip aute Duis in" } ], "inactive": true, "_meta": { "created": "1979-01-14T09:55:36.086Z", "updated": "1982-07-08T08:30:03.039Z", "migrationVersion": -77143336 } }, "0f4b4e2d16f06a064f2d5cc5", "default", "9f958a76eff896430d6696b7", "default" ], "iterations": [ "d9DBFDEC-0A0c-D3f7-af6D-3966dE98d72E", "6C7c24be-9d5A-BBfe-fbCb-aA4ae4B3E45C" ] } }, "parent": { "job": "veniam", "task": "anim aliqua sit et consequat", "iteration": 48216859.361570835, "element": -40385544.295460775 }, "errorHandler": { "actor": "c2313b897d1f4ed4560f8503", "groups": [ "62b6763ea7507d1fb0179047", "b3eecbdc10e0b59d78457e7b", "b870f22c7cb9cb90d0e5bea5" ], "iterations": [], "x": 21765036.410193518, "y": -32462955.89838861, "gridCoordinate": { "x": 69521539.51318452, "y": -91191299.90982784 }, "name": "pending", "summary": "consectetur", "description": "in nisi" }, "groups": [ "3c9bba6482b8ad4b45b4eb4d", "d2a9d6e2433714388657e379", "default" ], "watchers": [ "3642949d95d317aff95c29c9", "Pronghorn", { "_id": "9a1f3f31aec1e580e3f1e192", "provenance": "do", "username": "sed Duis", "firstname": "minim magna labore ut", "memberOf": [ { "groupId": "2fcfd61bda1ac1997c40f778", "aaaManaged": true }, { "groupId": "facb448699ce964b59194102", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt sint et" }, { "roleId": "sed enim quis et" } ], "inactive": true, "lastLogin": "2001-02-13T23:18:16.294Z", "_meta": { "created": "1981-02-04T13:09:47.33Z", "updated": "2020-03-06T17:29:33.343Z", "migrationVersion": -67900307 }, "email": "labore eu" }, "Pronghorn", null ], "metrics": { "start_time": -82151225.5531374, "progress": 0.6153014857985291, "end_time": -78869067.10314041, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }