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 retrieved search results", "data": { "_id": "ff00cd20c2d8303b710781a5", "font_size": 93508703, "type": "resource:action", "created": "1953-07-03T18:46:13.935Z", "last_updated": "1965-06-28T11:49:36.572Z", "createdVersion": "1728323.295442213.6410880463-4533.21.8707903.08", "lastUpdatedVersion": "24493284.36625.3654145", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 38597135, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 66925782.824439496, "sla": -62984468.46485235, "decorators": [ { "type": "encryption", "pointer": "/aPiTN/brnR" }, { "type": "encryption", "pointer": "/WMIE.DhI" }, { "type": "encryption", "pointer": "/e5T4nUv/VnHJBgM+a+n/K/~1/mRkX/~0/auQ/~0/nzqhP+ewc/hDlU5rqN" } ], "status": "error", "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": "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 }, { "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": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "dolor nisi non labore Excepteur" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "cillum nostrud ut et laborum" } ], "ancestors": [ "25e5ec2b1791633c3dba45ed", "ac55548412270b44c99f3b76", "27b4dd59abff82540b43b738", "bf3e120939a92714b954e814" ], "validationErrors": [ { "keyword": "exercitation", "dataPath": "exercitation veniam Ut nostrud ad", "schemaPath": "cillum pariatur Duis qui", "message": "consectetur" }, { "keyword": "laborum qui", "dataPath": "culpa", "schemaPath": "Duis", "message": "consequat nostrud" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 42405780.172600776, "y": 83430118.05584478, "gridCoordinate": { "x": -4694203.106797174, "y": -79021345.143381 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 1612941.4194099307, "finish_state": "success", "user": null }, "groups": [ "8fa2770170b593d9f5de9ee4" ], "iterations": [ "FDAe54ce-Ea94-fdff-9d6E-ECF91DA7dCF9" ] }, "workflow_end": { "x": 3933932.5261089206, "y": -39861170.2182353, "gridCoordinate": { "x": -18942676.93569036, "y": 59591736.752957046 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "e28f", "3a1f" ], "complete": [ "workflow_start", "workflow_end" ], "error": [ "workflow_end", "e28f", "workflow_start", "e28f" ] }, "metrics": { "end_time": -60628027.535934016, "run_time": 61977691.05815914 }, "groups": [ "0dc4119efb9d1530fa3b4ea8" ], "iterations": [ "576CA9de-76bC-9ed3-D7AF-AdD5fbEDfcE5", "281bCc40-6FD9-fACd-c7FF-b5fec9260fEf", "fE4F0D4b-89e9-d280-922A-DFB00A7c9d3d", "287c5aFa-4be5-3c4b-2eAA-F35b6f4D014d" ] }, "error_handler": { "x": -37798901.5387735, "y": 37088635.78552225, "gridCoordinate": { "x": 18197416.45380634, "y": 457629.3989805579 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "non et", "canvasName": "pariatur", "displayName": "et exercitation sit ullamco mollit", "summary": "labore voluptate sint", "description": "sunt aliqua esse", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/Nir38UQRyD5/lqRHrWxBk/~1/~0/fm,61Rr8/ECY/gBaSwOR0" }, { "type": "encryption", "pointer": "/cW8SI/~0/hmRr6AR/u-QmR8ug,0S/LS9krY/~0/jhBTINl/~0" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/z/~0/~0/Hpw3LyJtzm/~1/~1/lUnBWX4B/ybDSI9stGh/~0/~0" }, { "type": "encryption", "pointer": "/~1/E3IrAE/lW-Set/wFqKK/~1/KokbN,+wh/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "do nisi incididunt laborum cillum", "highlightString": "laborum sint velit" }, { "key": "quis aliquip", "highlightString": "dolore reprehenderit" }, { "key": "eu tempor", "highlightString": "dolor consectetur" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "3a1f" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "dolore ea nulla", "start_time": "1949-09-12T06:28:23.312Z", "end_time": 93867766.18013433, "finish_state": "failure", "retrySettings": { "state": [ "error", "error", "success" ], "autoRetry": false, "limit": 25725826, "delay": 42844866, "count": 63550275, "finishedRetrying": false }, "type": "operation", "actor": null, "groups": [ "default", "default", "default", "default" ], "iterations": [ "C157Ebea-3cAc-A374-ECAf-dc5E4EdDE0a0", "4CE6eabE-DaB1-1CFc-96eE-63cE2F0A2D5D" ] }, "4bf5": { "actor": { "_id": "6dab6e3ef6581c3764dd4091", "provenance": "aute Duis incididunt ad", "username": "sunt", "firstname": "irure consequat incididunt tempor", "memberOf": [ { "groupId": "671d6a0f17ed618fdd75c79b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur culpa" }, { "roleId": "ut incididunt" }, { "roleId": "consectetur Lorem Excepteur ut" }, { "roleId": "velit veniam" }, { "roleId": "Duis consequat velit tempor esse" } ], "inactive": false, "lastLogin": "1951-01-09T04:03:07.272Z", "_meta": { "created": "1959-08-16T10:22:42.884Z", "updated": "1961-06-15T00:11:54.271Z", "migrationVersion": 70542768 }, "email": "id Lorem in" }, "groups": [ { "_id": "b1ae36ae6d5ecffc50732d0a", "provenance": "ipsum", "name": "aliqua ad occaecat et fugiat", "description": "Ut et commodo", "memberOf": [ { "groupId": "64ea3af45ee5d0961bf6122e", "aaaManaged": false }, { "groupId": "3c628b9b436c474c36a0cb6e", "aaaManaged": false }, { "groupId": "2ea68730a4154854f828541b", "aaaManaged": true }, { "groupId": "d67c6aafa7953feb2fe5a0b8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam commodo" }, { "roleId": "Excepteur commodo eu dolor ad" }, { "roleId": "nisi sint Duis" }, { "roleId": "eu consectetur est sint" } ], "inactive": false, "_meta": { "created": "1977-04-03T01:48:44.891Z", "updated": "1945-11-05T06:52:06.863Z", "migrationVersion": -29426624 } }, "d6d9c9b3530f33299cda2cd2", "default", { "_id": "720188e91cf28d8275328cc9", "provenance": "eu", "name": "ex dolor officia nisi", "description": "eu proident", "memberOf": [ { "groupId": "ba3c8a99c7cb6b47934caa25", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea" }, { "roleId": "Ut non" }, { "roleId": "incididunt sit officia do dolore" }, { "roleId": "dolor magna esse ullamco" }, { "roleId": "do anim aliqua sit" } ], "inactive": false, "_meta": { "created": "1965-03-01T23:00:06.182Z", "updated": "2020-04-25T11:29:13.258Z", "migrationVersion": -39717960 } }, "default" ], "iterations": [ "D8bFB776-BaB2-FfBd-4f4a-aF07e1ea1e5b", "633fF0fA-4e3e-35dD-2dDf-70Ddf8cB5162", "F779C23B-3Ac8-daC1-a3A6-0db90FAd1DEA", "b87BdB15-34dF-A10B-a6Ae-bf2a53dBF6ac" ], "x": -68866493.52894488, "y": 32205083.353713974, "gridCoordinate": { "x": 20564549.159003228, "y": -31053292.70217973 }, "name": "voluptate labore laborum officia", "location": "Application", "locationType": "deserunt", "app": "Excepteur aliqua non", "canvasName": "aliquip dolor incididunt", "displayName": "aute dolore sed consectetur", "summary": "Duis Ut", "description": "reprehenderit ex proident", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/oL0/HNGBKwR" }, { "type": "encryption", "pointer": "/~0/~0/i2/~1/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0/~0/~0/k9/~0" }, { "type": "encryption", "pointer": "/~1/~1/O5YwTO2PIw/~1/bWo7d+zw13/O,ZW04ZAO.5/~0/E/~1/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "dolor pariatur dolor nisi", "highlightString": "anim" }, { "key": "laborum do exercitation laboris velit", "highlightString": "cupidatat" }, { "key": "consequat", "highlightString": "est do laborum eiusmod magna" }, { "key": "mollit incididunt", "highlightString": "dolor Excepteur in dolore aute" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "error_handler", "error_handler", "workflow_end", "error_handler" ], "complete": [ "workflow_start", "workflow_start", "3a1f", "workflow_end" ], "error": [ "3a1f", "3a1f", "workflow_start", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "Lorem aute", "start_time": "1976-01-26T12:07:14.407Z", "end_time": -65360229.88708328, "finish_state": "success", "retrySettings": null, "type": "manual", "view": "fugiat est consectetur" } }, "parent": { "task": "consectetur aliqua in elit commodo", "iteration": -19443841.004248247, "element": -22761833.985249653 }, "errorHandler": null, "groups": [ "64deeb1f7190e5831b8951fe" ], "watchers": [ "Pronghorn", "3c185b37bbe7f250eff6de9a", "Pronghorn" ], "metrics": { "start_time": -44154199.79187867, "progress": 0.09522052456529106, "end_time": -92361981.44945815, "user": { "_id": "6da2acb6be41e9b0981ce658", "provenance": "ex", "username": "incididunt laboris", "firstname": "ad", "memberOf": [ { "groupId": "59b1cf2efa67f8d37ed1696f", "aaaManaged": true }, { "groupId": "75c88890b85217f3194ac957", "aaaManaged": true }, { "groupId": "a900445a44bcab2c5a1e8717", "aaaManaged": false }, { "groupId": "a1dfb92d0c8face771a8ee14", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia ut aliquip" } ], "inactive": true, "lastLogin": "1965-05-24T18:28:50.807Z", "_meta": { "created": "1977-12-05T07:01:18.17Z", "updated": "1950-11-14T00:31:49.594Z", "migrationVersion": -94626761 }, "email": "sint et eu" }, "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }