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", "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": "c78ed2baeac552e18acd6978", "font_size": -68827234, "type": "resource:action", "created": "2010-06-01T11:44:17.265Z", "last_updated": "1971-08-31T06:31:39.577Z", "createdVersion": "2619.92859512707.776453-6676.1326654878.397806122.7106521", "lastUpdatedVersion": "5859.3092.114-1230.742.43265.8735", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 53589311, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -20338796.602850184, "sla": 81939477.32920858, "decorators": [ { "type": "encryption", "pointer": "/v/eBOJ/Kj6Xj6l8U89/~0/~0/~1/~1/JycLsy/Mr" }, { "type": "encryption", "pointer": "/jKr0buE/~1/~0/SkE0/luPcaG4/~0/i4ko/bTzk/BYLLO/kZ.TW22iymd/z/~0" }, { "type": "encryption", "pointer": "/~1/~0/bo8.4i.ZPM/tnS4no/~1" }, { "type": "encryption", "pointer": "/v/~0/~0/rcp/~1" } ], "status": "error", "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 }, { "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_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "dolor mollit enim Excepteur anim" } ], "ancestors": [ "7e82b361f1a16a2d009e66c6" ], "validationErrors": [ { "keyword": "labore", "instancePath": "esse non do", "schemaPath": "cillum amet id elit ullamco", "message": "qui elit" }, { "keyword": "incididunt mollit", "instancePath": "eu occaecat nostrud", "schemaPath": "laboris nostrud esse velit ut", "message": "minim amet nisi" } ], "created_by": { "_id": "dd99aaee69df96986c1fa7f7", "provenance": "veniam Duis Lorem consequat", "username": "dolor in esse aliquip", "firstname": "velit Excepteur fugiat labore ea", "memberOf": [ { "groupId": "d1a966523869870159fc0af3", "aaaManaged": true }, { "groupId": "9c579eb1b347e2720fb4ea9e", "aaaManaged": true }, { "groupId": "68acf7d6e7280f24f9650cf2", "aaaManaged": false }, { "groupId": "d6f72d8516278d3a4ba8b33d", "aaaManaged": true }, { "groupId": "9aa6786063e6044ee59df0c8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "elit do sit ad occaecat" }, { "roleId": "cupidatat" }, { "roleId": "consectetur nulla esse" }, { "roleId": "do" }, { "roleId": "irure ad" } ], "inactive": true, "lastLogin": "1967-06-17T07:19:52.331Z", "_meta": { "created": "1961-01-26T03:13:20.45Z", "updated": "1966-10-08T02:49:11.826Z", "migrationVersion": 61659947 }, "email": "mollit" }, "last_updated_by": "97dd0669d06b2358d9db8787", "tasks": { "22": { "x": -60378148.509110965, "y": 62410987.0429768, "gridCoordinate": { "x": -9100810.574883685, "y": -69408524.94445649 }, "name": "culpa enim consequat quis laboris", "location": "Application", "locationType": null, "app": "in ut ea incididunt aliqua", "canvasName": "amet laborum esse anim aute", "displayName": "laborum nisi nostrud", "summary": "occaecat exercitation anim", "description": "ipsum minim tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/t/lKj35JOe/~0" }, { "type": "encryption", "pointer": "/YI1j,840dv" }, { "type": "encryption", "pointer": "/~1/~1/kfnf/~0/v//Az5/~0/~0/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "tempor nostrud enim dolor culpa", "highlightString": "officia fugiat" }, { "key": "ullamco voluptate", "highlightString": "cillum officia" }, { "key": "ut", "highlightString": "in Duis minim nulla ea" }, { "key": "velit ad ullamco laborum", "highlightString": "ad pariatur esse" } ], "status": "failure", "previous": { "incomplete": [ "3a1f", "workflow_start", "error_handler", "workflow_start", "workflow_start" ], "complete": [ "3a1f", "error_handler", "workflow_end" ], "error": [ "3a1f", "error_handler", "workflow_end", "error_handler" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" } ] }, "serverId": "fugiat enim irure quis ut", "start_time": "1962-02-20T00:01:39.532Z", "end_time": 39751874.161916494, "finish_state": "success", "retrySettings": { "state": [ "failure", "failure", "error", "success" ], "autoRetry": false, "limit": 58378097, "delay": 67836371, "count": 72882889, "finishedRetrying": false }, "type": "operation", "actor": "68b2e6288474913b800667d1", "groups": [ "default" ], "iterations": [ "c4Ef8EB3-2A05-e35F-008A-Eb0C32be3dC1", "aafFE539-CbBB-3325-a9DD-45B2299c244E" ] }, "workflow_start": { "x": 81368444.85239619, "y": -53015757.15841968, "gridCoordinate": { "x": 83205413.83562177, "y": 20568011.788138255 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -8113588.772460818, "finish_state": "success", "user": null }, "groups": [ "default", { "_id": "dc4b44d63e8118e891f9a691", "provenance": "sit pariatur est sed adipisicing", "name": "nulla dolor dolore Lorem nostrud", "description": "incididunt dolor officia fugiat id", "memberOf": [ { "groupId": "52b81a791fcde76aab932c0a", "aaaManaged": true }, { "groupId": "85d29152aeede4edc6c75dd9", "aaaManaged": true }, { "groupId": "66fa9cb83276d9d845b5e495", "aaaManaged": true }, { "groupId": "1932d34dddcb81940c1ace9d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut sint" }, { "roleId": "culpa labore in" }, { "roleId": "dolor in dolore Ut" }, { "roleId": "deserunt Lorem ullamco exercitation" } ], "inactive": true, "_meta": { "created": "2019-05-14T12:29:09.989Z", "updated": "1946-05-11T11:42:18.859Z", "migrationVersion": -43734797 } }, "fdb1a571219fd42669a82c53", { "_id": "ff72b1307acfa61d4ee8678d", "provenance": "anim occaecat", "name": "ut voluptate adipisicing", "description": "pariatur officia quis reprehenderit sit", "memberOf": [ { "groupId": "afd7f5e50c71ef3319ffcf77", "aaaManaged": true }, { "groupId": "f96292efcc0198972db9ac35", "aaaManaged": false }, { "groupId": "e1be1d8e64500fff4037a824", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "adipisicing proident in id" } ], "inactive": false, "_meta": { "created": "1968-06-20T15:32:56.004Z", "updated": "2009-07-04T07:48:50.082Z", "migrationVersion": 13909705 } } ], "iterations": [ "390aE489-6B72-b926-84DB-cea62E744D85", "8Cffc23E-55C9-2BD0-997f-b845fed1aB63" ] }, "workflow_end": { "x": -41358146.1537369, "y": -78299433.0907656, "gridCoordinate": { "x": -87654250.7962228, "y": 13744911.029537603 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "workflow_start", "workflow_start", "3a1f", "workflow_end" ] }, "metrics": { "end_time": -13629081.444105923, "run_time": 3612629.280842006 }, "groups": [ "39db52677c1ea2b30d73b876", "ae70075000f28724cb4c3f03", { "_id": "07526d457f3da53bd14e9d8a", "provenance": "ut dolor tempor Excepteur eu", "name": "elit", "description": "ea quis consequat ut", "memberOf": [ { "groupId": "e699842b56be4eb1bb1d780d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo in ipsum adipisicing" }, { "roleId": "sunt" }, { "roleId": "anim" } ], "inactive": false, "_meta": { "created": "1985-08-21T18:37:38.056Z", "updated": "1987-01-12T03:56:39.835Z", "migrationVersion": -95938444 } }, "849714c8655535bfa5a32663" ], "iterations": [ "Aa2d6CfC-1711-Ea7b-b0F0-9E09E87dBD11" ] }, "error_handler": { "x": -29384407.273664027, "y": 82694417.00730628, "gridCoordinate": { "x": -37415180.720758915, "y": -92997936.76032166 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "occaecat amet quis", "canvasName": "Excepteur elit", "displayName": "et mollit velit", "summary": "magna nostrud ut anim sint", "description": "ullamco proident", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/NFmvk/xvmsA/lSTgCd,6Z" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "nisi esse velit", "highlightString": "fugiat proident sunt" }, { "key": "velit ad minim fugiat", "highlightString": "do non nisi aliqua" }, { "key": "ullamco velit exercitation", "highlightString": "sunt consequat" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "workflow_start", "3a1f", "workflow_end", "3a1f" ], "complete": [ "workflow_end", "workflow_end" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "loop" } ] }, "serverId": "do velit veniam proident eiusmod", "start_time": "2008-01-16T01:24:56.752Z", "end_time": 4788234.472068131, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "2de95f9ce331acc7001a0811", "default", { "_id": "921139b2a0e5aeadaa1c07f0", "provenance": "dolore sint dolor consequat", "name": "aliquip do quis", "description": "Duis in qui tempor Excepteur", "memberOf": [ { "groupId": "9f2f054f1ab64d43cca4e596", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut in nisi pariatur ut" }, { "roleId": "sed aliqua nisi" }, { "roleId": "in voluptate ea Ut aliqua" }, { "roleId": "nulla culpa voluptate" }, { "roleId": "consequat" } ], "inactive": true, "_meta": { "created": "1999-04-16T05:23:58.729Z", "updated": "1951-07-13T10:26:11.382Z", "migrationVersion": -55097446 } }, "default" ], "iterations": [ "dc3CAfD3-a888-ae2e-1Ee9-dF5513Fa4E74", "5D057B4f-4F3b-Ee52-1A45-C31eba91B09c" ] } }, "parent": { "job": "commodo dolor id ex", "task": "ea sunt occaecat sit", "iteration": -19172473.486609355, "element": -71218270.40332156 }, "errorHandler": null, "groups": [ "default", "49689630e000ba950b66deb6" ], "watchers": [ null, { "_id": "6fa44562f81f878703bd86b6", "provenance": "magna aute", "username": "Duis proident esse id labore", "firstname": "aute deserunt dolore dolor non", "memberOf": [ { "groupId": "e2055c8dff5bbb4095e1dbab", "aaaManaged": true }, { "groupId": "f15ec29acecbf1647a47d937", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate eu" }, { "roleId": "ad est" }, { "roleId": "irure reprehenderit mollit aliquip" } ], "inactive": true, "lastLogin": "1975-04-13T04:50:05.885Z", "_meta": { "created": "1977-01-17T11:54:41.851Z", "updated": "2014-01-08T13:37:04.07Z", "migrationVersion": -50268274 }, "email": "Excepteur ex" } ], "metrics": { "start_time": 65942992.61593911, "progress": 0.9302587052340165, "end_time": 95227524.66564581, "user": { "_id": "8c42e2972dcd83741a6e207e", "provenance": "adipisicing magna dolore", "username": "esse aliqua proident", "firstname": "laborum culpa nulla", "memberOf": [ { "groupId": "a0d1d79ab62d38ff30e4416c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu cillum incididunt in" } ], "inactive": false, "lastLogin": "1984-02-01T08:27:12.512Z", "_meta": { "created": "1976-03-22T18:46:40.201Z", "updated": "2020-08-15T04:02:41.921Z", "migrationVersion": 63025323 }, "email": "laborum sunt" }, "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }