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": "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": "4bde851167bb0ab0d3059011", "font_size": 94415878, "type": "resource:compliance", "created": "1983-08-25T11:44:25.682Z", "last_updated": "2013-05-18T13:06:26.532Z", "createdVersion": "5330100.39846.851", "lastUpdatedVersion": "01031.2723167.8542391970-3094.86101.610", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 51840949, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 78389829.14387485, "sla": 1318284.1722803414, "decorators": [ { "type": "encryption", "pointer": "/~1/O.zmDRm4c/~1/~1/~1/clIFyp-2vi" }, { "type": "encryption", "pointer": "/XTG5bjTZoQ/~1/DGOK5/~0/hKHI" }, { "type": "encryption", "pointer": "/~0/~0/~0/wDy/cAH/ewbFyuegN-" }, { "type": "encryption", "pointer": "/wie/ja,hKO/HOdKx/~0/bqj4pkM/~0/~0/nX3Xm1qnQ/ltNdQy/glN/~1" }, { "type": "encryption", "pointer": "/KnJ/K0VzjROFKS//~1" } ], "status": "incomplete", "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": "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_end", "name": "myCoolDocumentName", "message": "aute ullamco" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "et" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "velit" } ], "ancestors": null, "validationErrors": [ { "keyword": "magna aute deserunt", "instancePath": "voluptate ipsum incididunt", "schemaPath": "Lorem qui in cupidatat", "message": "incididunt voluptate" }, { "keyword": "elit qui sint Ut", "instancePath": "quis deserunt amet", "schemaPath": "enim est cupidatat ad", "message": "labore nulla quis elit mollit" }, { "keyword": "ullamco qui ut", "instancePath": "magna commodo fugiat", "schemaPath": "eu", "message": "magna Duis exercitation" } ], "created_by": { "_id": "27c0e6ae9997a31f7314b819", "provenance": "anim aliquip consectetur", "username": "amet laboris aliquip sunt ea", "firstname": "ex aliquip Ut cillum", "memberOf": [ { "groupId": "dc2529201247f832882f6bbc", "aaaManaged": true }, { "groupId": "60d347d2886ae643dd13aac8", "aaaManaged": false }, { "groupId": "fdae30b8c98a7923102ab45e", "aaaManaged": true }, { "groupId": "2b5bfa68dd916ea622b5d5ae", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "amet magna deserunt" }, { "roleId": "tempor nisi" } ], "inactive": false, "lastLogin": "2007-12-10T23:18:21.234Z", "_meta": { "created": "2007-10-21T19:23:19.321Z", "updated": "1972-10-11T00:35:24.425Z", "migrationVersion": 8841422 }, "email": "minim" }, "last_updated_by": { "_id": "ae57513f6484952839b8ad10", "provenance": "voluptate laboris dolore Duis deserunt", "username": "laborum Ut anim adipisicing fugiat", "firstname": "dolore ullamco id ut in", "memberOf": [ { "groupId": "220ff418b4c7f2f49babc7f7", "aaaManaged": true }, { "groupId": "cb10d6106f853b3606c07737", "aaaManaged": true }, { "groupId": "5f386d2c246a80a6c5f1edc2", "aaaManaged": false }, { "groupId": "1ef553150c3856bc0b4b7c53", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "irure" }, { "roleId": "qui Excepteur" }, { "roleId": "aliqua officia" } ], "inactive": false, "lastLogin": "1952-06-28T21:57:56.384Z", "_meta": { "created": "2016-10-09T04:29:06.901Z", "updated": "2002-12-07T13:13:27.835Z", "migrationVersion": -88038158 }, "email": "voluptate dolore" }, "tasks": { "workflow_start": { "x": 23675616.995104015, "y": 78054657.4854266, "gridCoordinate": { "x": 14263525.687300801, "y": -71381981.56496353 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -97031744.39383604, "finish_state": "error", "user": "e3e3d348413cc229cda27472" }, "groups": [ "984eab088f066d3e6718ec4b", { "_id": "590a339338bda746c30133f5", "provenance": "incididunt ea nisi", "name": "consectetur incididunt", "description": "et cillum ex", "memberOf": [ { "groupId": "3a225d3612cdd44bbab06dda", "aaaManaged": false }, { "groupId": "f2356879394582cf1d23a389", "aaaManaged": true }, { "groupId": "9aad3adef8921ea24239e3be", "aaaManaged": false }, { "groupId": "7caadc3ebafdecad1a565f27", "aaaManaged": false }, { "groupId": "e0f448c9a91a27859739f18d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed pariatur voluptate" } ], "inactive": false, "_meta": { "created": "1980-05-11T05:17:07.829Z", "updated": "2006-08-04T02:53:28.126Z", "migrationVersion": -29396980 } }, "default" ], "iterations": [ "176d87BB-Bb6c-37b7-5D10-A8D99c7793E8" ] }, "workflow_end": { "x": 80217112.6381607, "y": -57467052.61892835, "gridCoordinate": { "x": 50501503.853795975, "y": 61299157.74065769 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "3a1f", "error_handler" ], "complete": [ "error_handler", "3a1f" ], "error": [ "workflow_start", "e28f" ] }, "metrics": { "end_time": -43205766.432405524, "run_time": 76786723.87100166 }, "groups": [ { "_id": "b09c129302a3fa64a713ed93", "provenance": "fugiat ut officia amet veniam", "name": "adipisicing consequat", "description": "commodo voluptate labore consequat sint", "memberOf": [ { "groupId": "2026fcc884602716f7678212", "aaaManaged": true }, { "groupId": "2e62c7b4e6b05fac77a87546", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in voluptate tempor aliqua" }, { "roleId": "quis" } ], "inactive": true, "_meta": { "created": "1992-09-07T00:27:04.644Z", "updated": "1995-10-24T12:54:27.723Z", "migrationVersion": 96893383 } }, { "_id": "5e20dc9e705510eab41138ba", "provenance": "ut aute dolor", "name": "deserunt", "description": "laboris consectetur occaecat dolore cillum", "memberOf": [ { "groupId": "d54e22a40a68ec03494388bc", "aaaManaged": true }, { "groupId": "5984c89c1b2298375589b725", "aaaManaged": true }, { "groupId": "037624eb7130fda487156bbc", "aaaManaged": true }, { "groupId": "3ab64cc2dfccf857366dd1ce", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo voluptate aliquip occaecat ad" }, { "roleId": "sunt Duis ex reprehenderit tempor" }, { "roleId": "ut elit sit labore" } ], "inactive": false, "_meta": { "created": "1964-08-15T18:33:49.45Z", "updated": "2020-08-03T01:10:06.676Z", "migrationVersion": -36309767 } }, "2ac61471977252e1e35f7ed3", { "_id": "73a6dfcc201dff41842ce141", "provenance": "incididunt esse Lorem", "name": "sed laboris culpa ipsum ad", "description": "laborum nisi magna", "memberOf": [ { "groupId": "b225f819f3988592723b317d", "aaaManaged": false }, { "groupId": "5f604586c18380f501cd91f5", "aaaManaged": false }, { "groupId": "712dc3caa48e2beb66f03b89", "aaaManaged": false }, { "groupId": "e1ecb578ac873ef9e7419971", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident dolor tempor" } ], "inactive": true, "_meta": { "created": "2015-11-19T02:43:56.994Z", "updated": "1979-02-22T18:35:20.53Z", "migrationVersion": 48950897 } } ], "iterations": [ "D6B3cf8a-79d8-fACF-7cAC-E7Fbcfef522f" ] }, "error_handler": { "x": 34436509.99089059, "y": 82703082.21970657, "gridCoordinate": { "x": -30932224.86717844, "y": -62657144.178781055 }, "name": "childJob", "location": "Application", "locationType": "eu mollit", "app": "quis qui ipsum nisi ad", "canvasName": "tempor consequat ea officia quis", "displayName": "Excepteur enim pariatur cillum", "summary": "dolor magna laboris deserunt Ut", "description": "dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~0/es5/~1/hFZq/~0/~0/UjT954r" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~1/GGLfvEYcVx/Vp6SzIHS/~0" }, { "type": "encryption", "pointer": "/Q/~0/Lk,LDWD5.N/Gm/~0/~1/ztf6rJcC/tqcw-4i/KTcLr/AJK3+/IM-AgRr" }, { "type": "encryption", "pointer": "/NzwO" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "exercitation", "highlightString": "do velit aute ea" }, { "key": "id non velit minim nulla", "highlightString": "aute voluptate nisi" }, { "key": "cillum", "highlightString": "deserunt culpa eu magna" }, { "key": "ad Duis", "highlightString": "nulla Lorem" }, { "key": "enim voluptate aliqua dolor", "highlightString": "proident in reprehenderit et nostrud" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end", "error_handler" ], "complete": [ "error_handler", "workflow_start", "error_handler" ], "error": [ "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "dolore esse velit ad", "start_time": "2020-07-24T12:18:08.763Z", "end_time": 73654663.67286599, "finish_state": "success", "retrySettings": { "state": [ "success", "failure" ], "autoRetry": true, "limit": 15935761, "delay": 13336119, "count": 72323618, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "79c3a44fb06c9dc50ff217f3", "default" ], "iterations": [ "D62Ac0a4-BCbD-EFCf-9837-faAAc5cbfcaa", "f79A5FaC-bAf6-C673-5BBC-FeFf289e4298", "a77CAbed-EEf5-AcBc-Aef9-96Dc8DC3bD7b", "c1eb24Fe-75aA-0B26-76eE-E6Dadf2fb0C1" ] }, "7e": { "actor": "job", "groups": [ { "_id": "3975a7d9642fb9c182450cdc", "provenance": "magna est Excepteur nostrud", "name": "dolore incididunt non", "description": "irure aliquip", "memberOf": [ { "groupId": "d0feff9076e0a58b03a56a8b", "aaaManaged": false }, { "groupId": "c5d35c28b9c5034240ce9d7f", "aaaManaged": true }, { "groupId": "872cd386b5c709a77c112a1f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat incididunt esse" }, { "roleId": "in ex nulla" }, { "roleId": "id reprehenderit" }, { "roleId": "ex est nulla enim" }, { "roleId": "voluptate occaecat ad id" } ], "inactive": false, "_meta": { "created": "1954-10-23T11:12:18.719Z", "updated": "1992-01-31T06:06:17.638Z", "migrationVersion": -4045726 } }, "default", "2c77cbdc37fe605a674dbc9a", "default" ], "iterations": [ "E25b4aBc-AD32-88a4-9A42-9CeaF957CC46" ], "x": -63000201.073291026, "y": 10742264.326315627, "gridCoordinate": { "x": -9466086.941205993, "y": -28059023.381879285 }, "name": "dolore", "location": "Broker", "locationType": "veniam amet ut", "app": "et", "canvasName": "childJob", "displayName": "Excepteur sint aute", "summary": "ea laborum sit eiusmod ut", "description": "eu incididunt nostrud Excepteur cupidatat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/cbgHmS/~0/~0/mpAb.Gbzmbc" }, { "type": "encryption", "pointer": "/s5f/T/itG" }, { "type": "encryption", "pointer": "/T8nkbx/~1/E.BuX" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "adipisicing reprehenderit sit sint in", "highlightString": "aute" }, { "key": "ipsum", "highlightString": "elit nostrud deserunt" }, { "key": "enim et occaecat eu ullamco", "highlightString": "nulla sit commodo" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "workflow_start", "error_handler", "3a1f" ], "error": [ "error_handler", "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "quis eu", "start_time": "1965-09-06T12:24:35.487Z", "end_time": 82532571.56900167, "finish_state": "success", "retrySettings": { "state": [ "failure", "failure" ], "autoRetry": true, "limit": 49378921, "delay": 24081032, "count": 25228709, "finishedRetrying": true }, "loop": { "atLeastOneComplete": true, "finishedCount": 59017907.012439966, "outgoing": [ "elit ex", "nulla ipsum nostrud sunt nisi", null, null, null ] }, "childJobs": [ { "_id": "Excepteur", "name": "proident", "iteration": 5674663.9708040655 }, { "_id": "qui ea anim id elit", "name": "fugiat quis consectetur pariatur", "iteration": 20542272.502736658 }, { "_id": "dolore exercitation", "name": "enim ipsum non in nulla", "iteration": 81069389.25919649 }, { "_id": "dolore", "name": "sed irure in officia amet", "iteration": -18541616.740450546 }, { "_id": "Lorem est", "name": "minim id in adipisicing", "iteration": 66096055.23531404 } ] } }, "parent": { "task": "mollit", "iteration": 87406732.25938869, "element": -59915704.64098359 }, "errorHandler": null, "groups": [ "default" ], "watchers": [ null, null, { "_id": "f3d7be82f1d8f5f293f7d602", "provenance": "minim non", "username": "eu sed", "firstname": "ut proident in cillum nulla", "memberOf": [ { "groupId": "3511e111095c2cecadb813f7", "aaaManaged": false }, { "groupId": "d479202a9c09c71bad489256", "aaaManaged": false }, { "groupId": "15dc72cb3e1f6ef39df614cb", "aaaManaged": true }, { "groupId": "b515c5c16b004f4ceba17fbb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in anim pariatur officia magna" }, { "roleId": "incididunt dolore dolor culpa nisi" }, { "roleId": "enim Lorem" }, { "roleId": "sit Duis anim elit sed" } ], "inactive": false, "lastLogin": "1999-03-30T15:03:17.756Z", "_meta": { "created": "2009-06-11T21:16:10.926Z", "updated": "2006-10-12T07:23:57.861Z", "migrationVersion": 62917226 }, "email": "ullamco" }, "d102b8e730453be723a2b21a", { "_id": "bcf4a8f72e2dd0cf3a3cd493", "provenance": "dolore consectetur consequat", "username": "est ut et quis Duis", "firstname": "irure minim cupidatat voluptate", "memberOf": [ { "groupId": "51ba9fc63402d8ccb106fa97", "aaaManaged": true }, { "groupId": "d5fe942ccbd5e9a1ef87871f", "aaaManaged": false }, { "groupId": "c19bd953d5684f4ee4d69ff8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur anim" } ], "inactive": true, "lastLogin": "2011-05-13T19:30:27.253Z", "_meta": { "created": "2001-08-20T10:23:45.82Z", "updated": "1966-04-03T21:31:37.573Z", "migrationVersion": 24671825 }, "email": "ipsum deserunt" } ], "metrics": { "start_time": -19996143.082400948, "progress": 0.5994356016063718, "end_time": 55448379.39377496, "user": null, "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }