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": "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 retrieved search results", "data": { "_id": "1b95b2d1602c4d3be37ba4de", "font_size": -42856754, "type": "resource:compliance", "created": "1996-02-05T16:58:44.42Z", "last_updated": "1961-02-19T07:58:08.118Z", "createdVersion": "35609.790.49-8334.05603.28304", "lastUpdatedVersion": "2487.622.8-8231.07195.77552610.41026161449", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 65448306, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 42776286.10029423, "sla": -40021501.932002135, "decorators": [ { "type": "encryption", "pointer": "/~0/TjHkl5w2Cf/~1/KYhC/~0/~0" } ], "status": "running", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "qui laborum Lorem ipsum" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "c0ff8b0b62b6f2e48e07bf66", "66d0bedd4828c94b3d1e927e", "e445de838ef5822892b7d81d", "31afb0b2630ef1f0af68f2ae" ], "validationErrors": [ { "keyword": "pariatur proident laboris labore magna", "instancePath": "incididunt adipisicing do ex sint", "schemaPath": "in", "message": "ut sint velit culpa" }, { "keyword": "sit", "instancePath": "est ad", "schemaPath": "dolore fugiat ut", "message": "ullamco eiusmod aliqua in reprehenderit" } ], "created_by": { "_id": "c6d2eac659038553032b96e9", "provenance": "in", "username": "cupidatat laborum sit et", "firstname": "aliqua", "memberOf": [ { "groupId": "57d8ea0e5f2114c214a8779b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "pariatur" } ], "inactive": true, "lastLogin": "2024-12-12T04:35:52.669Z", "_meta": { "created": "1965-04-19T14:16:41.877Z", "updated": "1994-05-01T20:32:27.82Z", "migrationVersion": 39088797 }, "email": "ex ipsum do mollit" }, "last_updated_by": { "_id": "b22ea00c459011ab65697e15", "provenance": "commodo", "username": "sunt", "firstname": "consequat dolore", "memberOf": [ { "groupId": "1091a7296e1ec61a1165ca89", "aaaManaged": false }, { "groupId": "ba2f68097a8996dd4cf879c1", "aaaManaged": true }, { "groupId": "d971344c7c599ab265c6609f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor incididunt exercitation" }, { "roleId": "consequat aliqua cillum laborum" }, { "roleId": "dolor" }, { "roleId": "deserunt Excepteur consectetur ipsum reprehenderit" } ], "inactive": true, "lastLogin": "1986-06-11T17:16:01.937Z", "_meta": { "created": "1966-08-27T11:04:28.338Z", "updated": "1958-08-20T09:49:56.36Z", "migrationVersion": -78088523 }, "email": "velit eu" }, "tasks": { "workflow_start": { "x": -14860518.196593195, "y": -27342800.954377472, "gridCoordinate": { "x": -27226478.755346, "y": 67063320.84544936 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -3376635.722666636, "finish_state": "error", "user": "521311df9c2b364d6aade8a0" }, "groups": [ "3df5e1fea1f78390156c2169", { "_id": "50439d750040ace896f8a674", "provenance": "voluptate aliqua", "name": "qui", "description": "quis Duis non fugiat", "memberOf": [ { "groupId": "c7430c93f0d6adb132e5e424", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim irure ad amet laborum" }, { "roleId": "laboris exercitation in culpa" }, { "roleId": "sint" }, { "roleId": "in" } ], "inactive": false, "_meta": { "created": "1963-05-06T14:36:56.51Z", "updated": "1991-03-23T13:03:28.847Z", "migrationVersion": -4696725 } }, "default" ], "iterations": [ "cB85D1D4-1de7-e7fD-e8da-66bFeEcC1CdE" ] }, "workflow_end": { "x": 59902856.588398516, "y": -19680367.868767098, "gridCoordinate": { "x": 65760804.45183897, "y": 9343551.083619058 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "e28f", "3a1f", "error_handler", "workflow_start", "workflow_start" ], "error": [ "3a1f" ] }, "metrics": { "end_time": -54178418.18463196, "run_time": 74940642.75671685 }, "groups": [ { "_id": "7c591e48a8d879ce29208d74", "provenance": "in adipisicing id irure", "name": "minim ut", "description": "pariatur", "memberOf": [ { "groupId": "e4a950677b87255a7105bc01", "aaaManaged": false }, { "groupId": "28d77b84c40fe4b1e7756b06", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi velit consectetur" }, { "roleId": "ex nulla in" }, { "roleId": "ex" }, { "roleId": "ut reprehenderit" } ], "inactive": false, "_meta": { "created": "1997-01-18T17:02:43.056Z", "updated": "2021-03-11T06:30:39.488Z", "migrationVersion": -14499207 } } ], "iterations": [ "0A8C5e8e-2B10-FbD8-a862-c639BD31ae32" ] }, "error_handler": { "x": 97627105.30351949, "y": 53243417.10729268, "gridCoordinate": { "x": -57760337.38049264, "y": 31537583.942071512 }, "name": "childJob", "location": "Broker", "locationType": "dolore cupidatat commodo Lorem adipisicing", "app": "in", "canvasName": "nulla Excepteur", "displayName": "dolore sit qui ipsum veniam", "summary": "aliquip eu incididunt", "description": "enim id ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/V4ras,xe,/vX72s0ee6x/~0/T.I0Z+4T3/~0/~1/OyliELPE/~0/QD0i.x1/Xw9g9/~0" }, { "type": "encryption", "pointer": "/YFbmIW7fn01/~1/~1/p4OC/S5Io.Wt/KDJ43/~0/~0/~0/~1/~0" }, { "type": "encryption", "pointer": "/Ut/~1/ACBEymGA/~1/F2oOkPHX/~1/MELSY/~0/IDJ7qI/FMV/~0/f" }, { "type": "encryption", "pointer": "/~0/~0/~1/W+6/~0" }, { "type": "encryption", "pointer": "/~1/XP7+H/jXae12/3JlL/~0/~0/~0/~1/k/~1/~1/i9+t8-" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "ut aliqua dolore laborum sunt", "highlightString": "mollit in officia quis" }, { "key": "aute et", "highlightString": "et velit in sunt quis" } ], "status": "running", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_start", "workflow_end", "workflow_end", "workflow_start", "workflow_start" ], "error": [ "3a1f", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "loop" } ] }, "serverId": "cupidatat sunt", "start_time": "2004-01-05T17:16:55.727Z", "end_time": -99092861.97407274, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": { "_id": "c3da2e8cd1e1d88d201d1080", "provenance": "veniam", "username": "enim voluptate ut elit magna", "firstname": "cupidatat sint", "memberOf": [ { "groupId": "cc0398eede87623a8392b0ac", "aaaManaged": false }, { "groupId": "7df241235a39bddde1ca88cd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt quis" }, { "roleId": "laboris sed aute" }, { "roleId": "ex" }, { "roleId": "qui" }, { "roleId": "cupidatat ut magna" } ], "inactive": false, "lastLogin": "2022-07-19T06:54:11.771Z", "_meta": { "created": "1994-08-27T04:32:43.156Z", "updated": "1947-11-08T00:55:23.675Z", "migrationVersion": -20604818 }, "email": "do" }, "groups": [ "default", "2380c26e0642af36a3aacfb3", "f37595e64617beb545027a50", { "_id": "57c60997d9c9e62e9510fc9d", "provenance": "in nostrud commodo consectetur", "name": "dolore in incididunt", "description": "id elit cupidatat", "memberOf": [ { "groupId": "7776dffb5e7e7687510ec594", "aaaManaged": true }, { "groupId": "9d82c7d21cd9d8ab9828ecff", "aaaManaged": true }, { "groupId": "52b6bee1c6775f04d0ca9b89", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo labore nostrud cupidatat eu" }, { "roleId": "elit" }, { "roleId": "ex" }, { "roleId": "ipsum" } ], "inactive": false, "_meta": { "created": "1993-01-03T04:50:51.656Z", "updated": "2020-12-17T12:14:04.156Z", "migrationVersion": -95345238 } }, "8c1686648b4058f0786f5e3d" ], "iterations": [ "6d4c6560-cedd-f9b7-A5aD-762b46Ec4Bd2" ] }, "86c": { "actor": "job", "groups": [ { "_id": "8fa5e2cca2f823661f8f59e6", "provenance": "eu", "name": "pariatur do commodo ad irure", "description": "eiusmod ut anim", "memberOf": [ { "groupId": "aca11590bc3136b88bdd7845", "aaaManaged": true }, { "groupId": "dfb5657422a7c5364d01e311", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum eu" }, { "roleId": "aliquip aute Excepteur consectetur" }, { "roleId": "dolor" } ], "inactive": true, "_meta": { "created": "2024-09-10T09:55:47.831Z", "updated": "1963-02-18T09:13:10.253Z", "migrationVersion": 89966615 } }, { "_id": "38860d4ecdcd9c072e0463e6", "provenance": "ex quis eu occaecat Lorem", "name": "esse velit id", "description": "nostrud enim mollit pariatur fugiat", "memberOf": [ { "groupId": "8aa31e6fb47152e78af7b9c9", "aaaManaged": true }, { "groupId": "e0f6268cfa9b2fd88a2fb70d", "aaaManaged": false }, { "groupId": "1e4563626ac814a9df25ad6b", "aaaManaged": false }, { "groupId": "a6159c88f904065ea2bf8f0d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat dolor voluptate nisi elit" }, { "roleId": "velit veniam exercitation cupidatat" }, { "roleId": "pariatur consectetur in" }, { "roleId": "Duis dolor adipisicing labore in" }, { "roleId": "tempor et Lorem" } ], "inactive": true, "_meta": { "created": "2003-07-29T00:18:21.797Z", "updated": "1984-01-19T14:20:27.148Z", "migrationVersion": -73669264 } }, "default", "default" ], "iterations": [ "dDcED15C-1054-8B45-3372-4BcCFEB91e93", "AdBC38Fe-73bA-d9CE-5c07-6DBBE8abf06E", "c9aEA82c-df1E-CB9A-f1C0-dB2FBcfE6039" ], "x": -9058006.481177643, "y": 76974126.61234236, "gridCoordinate": { "x": -3816497.107175246, "y": 62088505.79751921 }, "name": "pending", "summary": "dolor", "description": "sint sunt dolor amet veniam" } }, "parent": { "job": "in aute officia reprehenderit occaecat", "task": "laborum aute", "iteration": 10018599.39779219, "element": 95591788.41457364 }, "errorHandler": null, "groups": [ { "_id": "b2941a5f9ef99c4ed22edb6e", "provenance": "aliqua ad", "name": "et nulla reprehenderit", "description": "aute esse", "memberOf": [ { "groupId": "a7d289c71c2cc31dfc0824b9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam cillum nostrud" } ], "inactive": false, "_meta": { "created": "1956-04-20T23:22:01.062Z", "updated": "1999-01-16T09:59:25.634Z", "migrationVersion": -57267672 } }, "default", "default", "default", "default" ], "watchers": [ { "_id": "0bffc8e7f3fe24aae232ce42", "provenance": "sit", "username": "aute irure in voluptate", "firstname": "ut dolore voluptate aliquip", "memberOf": [ { "groupId": "533daf033637ab963dc5a5bd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non" }, { "roleId": "do" }, { "roleId": "proident nostrud irure incididunt laborum" }, { "roleId": "ut adipisicing" }, { "roleId": "ullamco aute" } ], "inactive": false, "lastLogin": "1990-01-06T04:02:31.58Z", "_meta": { "created": "2005-12-23T23:14:57.69Z", "updated": "1956-09-01T14:54:02.18Z", "migrationVersion": -7601158 }, "email": "adipisicing Duis" }, "Pronghorn" ], "metrics": { "start_time": -58498385.143047705, "progress": 0.11457113698472332, "end_time": 36668722.87353757, "user": "f50bac3005eae83c00a03bb1", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }