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": "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 retrieved search results", "data": { "_id": "829df7f68e301d3e9f98bf73", "font_size": -78215716, "type": "resource:action", "created": "2002-04-10T04:57:42.955Z", "last_updated": "1985-12-31T02:08:50.523Z", "createdVersion": "684305381.6486815999.5393280-9283.3739754.63015377.336", "lastUpdatedVersion": "7991641.5867709651.0-9731.52675350549.956925.2", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -91671412, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 32073694.892936274, "sla": 64926808.3393096, "decorators": [ { "type": "encryption", "pointer": "/ziqFKS,uD/MJu/CUhPZp9Y8h/~1/hHo,C7oWDf/xAgzghFm" }, { "type": "encryption", "pointer": "/bf4t/nzdRpz4i4/~1/~1" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/~0/~0/~0/VH5DP.cJ/ya/~0/h.dq/G4ckS./yQ/emi,vM5/UxNclo" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0/~0/~0/CF69UV" } ], "status": "complete", "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": "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 } ], "warnings": [ { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "d7d8a9e07306710b03f9bb74", "1882354f872d4d0f8e7a2ea8", "3f27ca68fec96bd21786f2f5", "70719ab962198f30f5c7329b" ], "validationErrors": [ { "keyword": "est sunt", "dataPath": "aliquip", "schemaPath": "irure minim nulla dolor", "message": "Ut incididunt" }, { "keyword": "anim irure", "dataPath": "Ut", "schemaPath": "quis", "message": "reprehenderit quis cupidatat veniam consequat" }, { "keyword": "do ut ut aliquip", "dataPath": "proident esse et", "schemaPath": "amet in est cupidatat proident", "message": "adipisicing laborum Duis ad aliqua" }, { "keyword": "officia dolore occaecat", "dataPath": "sit amet", "schemaPath": "in", "message": "aute" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": 53742559.1735706, "y": -57339546.57049027, "gridCoordinate": { "x": 92751927.21305308, "y": 80689161.75812805 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 84134380.01915482, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "default", "88fd5866e0ac908070464aca", "9cefe6289d5aac79d6409005" ], "iterations": [ "BC372f3D-1Bc4-0088-7C6b-B9F4fbdA078f" ] }, "workflow_end": { "x": -90942552.35411994, "y": 62315313.19165048, "gridCoordinate": { "x": -61890844.578472756, "y": 62914444.99045578 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "workflow_end" ] }, "metrics": { "end_time": 90094668.60060784, "run_time": 21894625.007725477 }, "groups": [ "407701dbac361eeb52bacc37", "d5a2fec63f35ebfd066491c3", { "_id": "9584d436c70b40ca9c0720c2", "provenance": "enim cupidatat nostrud laboris", "name": "aute cupidatat reprehenderit est", "description": "labore id magna anim", "memberOf": [ { "groupId": "e14c0c7446dc7cb60eef4bd5", "aaaManaged": false }, { "groupId": "ab32e3dbc9ca5de10fce2960", "aaaManaged": true }, { "groupId": "8bc7cda7d75abd146c0a1cfc", "aaaManaged": true }, { "groupId": "1176df827dbe803655b869e3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea esse irure nostrud" } ], "inactive": false, "_meta": { "created": "1993-03-11T22:27:00.676Z", "updated": "1961-08-22T02:22:00.257Z", "migrationVersion": 93961492 } }, "default", "5017bc974bc74c6148787e1d" ], "iterations": [ "03ede551-c5Bb-Fa40-5A23-c4e3B4c5abe7" ] }, "error_handler": { "x": -76712979.57566692, "y": 4886357.244345516, "gridCoordinate": { "x": 59186550.1506446, "y": 9357564.637818068 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "consectetur ut aliquip laboris et", "canvasName": "dolor ipsum officia laborum", "displayName": "nulla", "summary": "aliqua nostrud do ex", "description": "aliquip adipisicing deserunt officia", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/twG2oe/~0/La/~1/vZVU/~0/bk0hGsNkQP/Pz/iicS/vi" }, { "type": "encryption", "pointer": "/~1/~1" }, { "type": "encryption", "pointer": "/~0/~0/Fv5-8/~0/VzhHly+/WF1YwCkWM8/~0" }, { "type": "encryption", "pointer": "/~0/~0/nJ/yAZg81TlA/~0/cRLO/V/m/-7CY8m6" }, { "type": "encryption", "pointer": "/~1/Msj/k/Re0Z8-iPbeP/gy/~1/~0/eg-" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eu est sint dolor", "highlightString": "ex ut est" }, { "key": "labore dolor voluptate eu", "highlightString": "cillum aliqua" }, { "key": "consectetur proident occaecat ut", "highlightString": "ut" } ], "status": "complete", "previous": { "incomplete": [ "e28f", "workflow_start", "workflow_start", "error_handler" ], "complete": [ "e28f", "error_handler", "e28f" ], "error": [ "e28f", "workflow_start", "e28f", "workflow_end", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "cillum et", "start_time": "1988-11-21T06:11:18.183Z", "end_time": 79065235.43152928, "finish_state": "error", "retrySettings": { "state": [ "success", "error", "success" ], "autoRetry": false, "limit": 39335348, "delay": 30031338, "count": 74586674, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "default", "default" ], "iterations": [ "De3Ef82d-ebAC-Ac9F-b3C4-D9de7316A76a" ] }, "6e": { "x": 85861843.89733878, "y": 76127606.42915308, "gridCoordinate": { "x": 94593405.34732941, "y": 58598013.17153591 }, "name": "reprehenderit", "location": "Application", "locationType": null, "app": "non", "canvasName": "commodo aliquip ipsum quis amet", "displayName": "minim aliquip anim", "summary": "tempor enim dolor", "description": "anim Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/~1/dFkvhQaTiUW/~1/Y/7nr/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0/zq/~0/~1/~1/fjufH/~0/~1/sxvR/CYJoI8w9d/BEEw" }, { "type": "encryption", "pointer": "/~1/~1/XegEN/bwV/LUG/v.5ATOj/fWgcks/seRX76T/~0" }, { "type": "encryption", "pointer": "/vh/xa-f" }, { "type": "encryption", "pointer": "/GdDlCme-i/~1/Hmly-Px/~1/x5" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "nisi sit", "highlightString": "veniam dolor elit" } ], "status": "paused", "previous": { "incomplete": [ "3a1f", "workflow_start", "3a1f", "error_handler" ], "complete": [ "3a1f" ], "error": [ "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "anim enim in", "start_time": "1988-10-28T02:40:33.7Z", "end_time": -16565033.58941941, "finish_state": "failure", "retrySettings": { "state": [ "error", "success", "failure", "success", "error" ], "autoRetry": false, "limit": 21639008, "delay": 13390854, "count": 24631958, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "29d3634f3d4c1ca4ba4108c1", "provenance": "enim eiusmod", "username": "veniam ad", "firstname": "adipisicing consequat cillum labore deserunt", "memberOf": [ { "groupId": "71c62b14288ea5449016e332", "aaaManaged": false }, { "groupId": "8f6f8d7e9101940a2e59366c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor culpa non" }, { "roleId": "qui sint voluptate velit" }, { "roleId": "non" }, { "roleId": "in" } ], "inactive": false, "lastLogin": "1965-02-27T03:18:47.907Z", "_meta": { "created": "1955-08-18T12:52:45.959Z", "updated": "1970-09-12T06:56:55.434Z", "migrationVersion": -61725184 }, "email": "voluptate mollit laborum magna" }, "groups": [ "default" ], "iterations": [ "052a68Df-313C-f66D-f78c-dE1FEDc725aB", "85eABAFE-19aB-CdFa-2BAD-4eaaFb64BDfE" ] } }, "parent": { "job": "velit", "task": "proident Excepteur exercitation reprehenderit", "iteration": -1673562.9466222376, "element": 24586614.11539054 }, "errorHandler": null, "groups": [ { "_id": "386604dc20e21491a24ad387", "provenance": "deserunt", "name": "proident adipisicing", "description": "nulla", "memberOf": [ { "groupId": "6e4163a6b70a8c4571ab7489", "aaaManaged": false }, { "groupId": "84286595155a806c686bad8d", "aaaManaged": true }, { "groupId": "777d6baa389bd6b937fcaa00", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate deserunt in tempor" }, { "roleId": "Duis aliqua" }, { "roleId": "do ullamco" }, { "roleId": "aliquip proident in enim" } ], "inactive": true, "_meta": { "created": "1964-02-20T02:00:41.357Z", "updated": "1984-08-18T14:48:37.576Z", "migrationVersion": -69114384 } } ], "watchers": [ null, { "_id": "a4102bc8940f5d443dedaf61", "provenance": "reprehenderit", "username": "culpa aliquip qui", "firstname": "anim dolor veniam quis", "memberOf": [ { "groupId": "cd9c08be723a6dd67440618f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor" } ], "inactive": true, "lastLogin": "2000-08-03T03:24:50.455Z", "_meta": { "created": "1947-11-13T09:48:15.745Z", "updated": "1947-05-15T04:22:44.316Z", "migrationVersion": 65209671 }, "email": "exercitation eiusmod" }, "Pronghorn", { "_id": "de795df0e182b1e2c2467bc7", "provenance": "consequat voluptate proident sunt elit", "username": "Ut eu est ad labore", "firstname": "aute veniam", "memberOf": [ { "groupId": "cb6df00ba60b2dc905e77ece", "aaaManaged": false }, { "groupId": "40b7b2d7e73ad286c7a303c3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure pariatur enim est" } ], "inactive": false, "lastLogin": "1989-03-25T16:06:07.457Z", "_meta": { "created": "1987-09-18T22:23:34.359Z", "updated": "2018-06-10T20:34:34.526Z", "migrationVersion": -4559967 }, "email": "voluptate in aliqua" } ], "metrics": { "start_time": 38063539.7908974, "progress": 0.3199957016375288, "end_time": 30194973.684558153, "user": "Pronghorn", "owner": { "_id": "fbdf22534643883958370b04", "provenance": "nisi", "username": "cupidatat sit", "firstname": "consectetur mollit irure deserunt", "memberOf": [ { "groupId": "0486d5bfc1c9425fd007b71d", "aaaManaged": true }, { "groupId": "11e855834d6da2d2931a4473", "aaaManaged": false }, { "groupId": "f4dd52e01ad8d7257d35b332", "aaaManaged": true }, { "groupId": "a47379b17e461d7d2f536f19", "aaaManaged": true }, { "groupId": "a3871939f4245e00498c62f6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor minim labore" }, { "roleId": "ex Ut sint" }, { "roleId": "minim eiusmod" } ], "inactive": true, "lastLogin": "1977-05-06T11:00:14.627Z", "_meta": { "created": "1955-11-01T22:44:55.794Z", "updated": "2017-02-16T01:29:36.841Z", "migrationVersion": -32698086 }, "email": "in nulla" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }