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": "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 imported 3 of 4 documents", "data": { "_id": "29f3be3ebaccbb8bb58310df", "font_size": 52065715, "type": "resource:action", "created": "1960-01-16T16:39:23.17Z", "last_updated": "2007-07-09T00:08:48.291Z", "createdVersion": "30.46.177", "lastUpdatedVersion": "8009.98.357286554-3722.0094965.425010273", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -86129331, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 5585372.960030496, "sla": -17867213.305442408, "decorators": [ { "type": "encryption", "pointer": "/pPIwPfe13/jDP/~0/~1/jyWCM9/a/~0/U/hLy-8a+Pe4/z5syr/KSc" } ], "status": "paused", "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 }, { "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": "Duis ullamco officia mollit" } ], "ancestors": [ "2647fd30c56fc51375912d19" ], "validationErrors": [ { "keyword": "enim dolor minim ut", "dataPath": "in dolor non", "schemaPath": "irure anim", "message": "minim deserunt ea" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 28989853.71893215, "y": 12498611.856217861, "gridCoordinate": { "x": 62004069.13188398, "y": 74343345.9420059 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 85766421.5426623, "finish_state": "error", "user": "ce2bbd30fbdf111f4b0c6717" }, "groups": [ "3da202b8e61556cf499f3517" ], "iterations": [ "653aA0C8-cCBA-7bc8-f6d3-acF064fA0e53", "4dc53D54-b9bB-207C-A4aA-a01ec99eF6FF" ] }, "workflow_end": { "x": 58418726.9592849, "y": 26693885.16175784, "gridCoordinate": { "x": 40385887.081380695, "y": 36886251.424388826 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_end", "workflow_start", "workflow_start" ], "error": [ "e28f", "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -80762686.4283423, "run_time": 21456177.17916739 }, "groups": [ "default", { "_id": "28fe73f4c932a9aab8ba7e55", "provenance": "consectetur adipisicing", "name": "exercitation incididunt dolor", "description": "laboris", "memberOf": [ { "groupId": "28735dd3e247cca585257b8e", "aaaManaged": false }, { "groupId": "344a4a733b78ac7ced0745c9", "aaaManaged": false }, { "groupId": "c4f9823d72c1ce84d2cbf7e1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu" }, { "roleId": "dolor dolore Ut officia magna" }, { "roleId": "proident est occaecat adipisicing" } ], "inactive": false, "_meta": { "created": "2006-03-12T02:47:50.366Z", "updated": "1960-07-08T20:25:57.782Z", "migrationVersion": 24725032 } } ], "iterations": [ "FE8e6CBe-032c-fEe8-4e96-cCbdBdBac59b", "89e05f28-473c-6f69-Bc10-fFfa9Dbfe6ad" ] }, "error_handler": { "x": 89263012.06073344, "y": 63117870.18990111, "gridCoordinate": { "x": 35190050.92768657, "y": -24648718.232850537 }, "name": "childJob", "location": "Adapter", "locationType": "eu sit qui", "app": "minim dolor", "canvasName": "occaecat aliqua pariatur tempor dolor", "displayName": "Ut", "summary": "nisi est ipsum", "description": "deserunt ea occaecat voluptate ex", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/w5S6qG/~0/yqBRRv/~0/x.T7RwSe/F7w4/~0/WuNFul0/~1/~0" }, { "type": "encryption", "pointer": "/~1/I9o5/Jyt" }, { "type": "encryption", "pointer": "/uixn/LWry/E.3O/vc122JLp/vm+GZ9/~1/g-/~0" }, { "type": "encryption", "pointer": "/~1/~1/V102/mF7m6i.se/~0/~0" }, { "type": "encryption", "pointer": "/zTp1Zo2" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ea fugiat", "highlightString": "consequat irure ut culpa" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "e28f", "error_handler" ], "error": [ "workflow_start", "e28f", "3a1f", "e28f", "e28f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "ea anim aliquip laborum", "start_time": "1973-08-24T00:32:57.048Z", "end_time": 32449929.75542073, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "e7c155dce007f52179a69f9e", "default", { "_id": "5eff17867793833045ba0bbe", "provenance": "enim ea Duis", "name": "exercitation sit labore", "description": "velit cillum qui in", "memberOf": [ { "groupId": "6e01d880bc699e6cda877e35", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt ipsum" } ], "inactive": true, "_meta": { "created": "1948-05-05T15:26:18.45Z", "updated": "1948-08-02T02:16:23.485Z", "migrationVersion": -93264627 } }, "default", "fc3f9bade5768957343de450" ], "iterations": [ "8cB6BBab-48Cb-6913-4C8A-CFf440Bece8c", "eC7bFc4f-3C9f-bbE1-aB2F-970D2D3DdF39", "dcCA6CCA-03b3-A367-EDdE-dbD07C3Ad00D" ] }, "f": { "x": -30736950.352021217, "y": 64063188.88527635, "gridCoordinate": { "x": 20797998.1404832, "y": 15012755.26560928 }, "name": "ad dolor labore dolor sint", "location": "Application", "locationType": "dolor exercitation in velit aliquip", "app": "velit ex id in sint", "canvasName": "culpa do", "displayName": "proident sit", "summary": "Ut irure elit velit sint", "description": "Lorem nisi fugiat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/ZF73jn/~0/oKzPm4oTI/Yu0P/FR-xx/~1/SgyQ4/~0/~0" }, { "type": "encryption", "pointer": "/~0/~0/~0/l9UqfWn/ZrgCw+w" }, { "type": "encryption", "pointer": "/~1/~1/~1/S35YjuL" }, { "type": "encryption", "pointer": "/~1/~1/zqMw/~0/zK" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "sit reprehenderit pariatur dolore dolor", "highlightString": "officia commodo dolore velit in" }, { "key": "laboris ut", "highlightString": "tempor dolor sunt Lorem" }, { "key": "ea pariatur Lorem eiusmod", "highlightString": "anim id" }, { "key": "proident in nostrud in non", "highlightString": "nulla anim ut" }, { "key": "voluptate in velit", "highlightString": "ut sint" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "3a1f", "workflow_start", "e28f" ], "error": [ "e28f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "pariatur nostrud", "start_time": "1948-03-19T05:32:05.418Z", "end_time": 95447359.89565378, "finish_state": "error", "retrySettings": { "state": [ "success", "success", "failure", "success", "error" ], "autoRetry": false, "limit": 612893, "delay": 55457010, "count": 21870753, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "2853d02a1a944a4805424cf6", { "_id": "f146b78a1acc20df1b21382f", "provenance": "deserunt reprehenderit irure", "name": "in officia", "description": "aliquip ipsum", "memberOf": [ { "groupId": "46ddb8c79bca76f25300e7ca", "aaaManaged": true }, { "groupId": "a8ae256937736f5f7ea6b184", "aaaManaged": false }, { "groupId": "28f98ec686ad39261405ff93", "aaaManaged": false }, { "groupId": "a0df06f9d55e91a576971c53", "aaaManaged": true }, { "groupId": "15fcf6f82c050844a47203c0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet id veniam" }, { "roleId": "do ipsum nostrud in" }, { "roleId": "ut aute anim occaecat Duis" }, { "roleId": "consectetur ad" }, { "roleId": "qui eiusmod proident" } ], "inactive": true, "_meta": { "created": "1991-11-06T05:02:53.707Z", "updated": "1952-11-13T05:49:42.958Z", "migrationVersion": 71163305 } } ], "iterations": [ "5bA79c2c-78CA-AbDc-55cb-c7AAd0E9Db19", "Fb8e6Db1-d749-EfEe-802E-72d7CAF3B9Ae" ] } }, "parent": { "task": "irure Ut", "iteration": 10540497.519640997, "element": -23939842.2804856 }, "errorHandler": null, "groups": [ "default", "default", "be091af7df27ea33c93be3fe", { "_id": "c156d5a993ead280bd6d4505", "provenance": "incididunt", "name": "aute Duis", "description": "cillum est consectetur ad", "memberOf": [ { "groupId": "9e61a8f40bc1a6e4bbeef0dd", "aaaManaged": false }, { "groupId": "cd8d2cbcd680dac8bbd8fac9", "aaaManaged": true }, { "groupId": "7b52fa7099c8266d21a1a881", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "velit exercitation consectetur voluptate" }, { "roleId": "sint officia" } ], "inactive": false, "_meta": { "created": "1985-04-14T17:20:24.941Z", "updated": "1959-09-02T13:21:07.557Z", "migrationVersion": -65056835 } }, "default" ], "watchers": [ null, "Pronghorn", { "_id": "107587823a9bb270c0dc08fc", "provenance": "consectetur sunt anim", "username": "sunt", "firstname": "laboris", "memberOf": [ { "groupId": "cc3a678b57e17b09561ecd8a", "aaaManaged": false }, { "groupId": "5ceae63de7eaaf1516736f22", "aaaManaged": true }, { "groupId": "bcb8c6d08c46c88096cbcd61", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui laborum esse" } ], "inactive": false, "lastLogin": "2020-05-02T09:52:16.781Z", "_meta": { "created": "1989-07-12T12:37:03.274Z", "updated": "1990-08-15T11:24:07.49Z", "migrationVersion": -30634650 }, "email": "magna in mollit in" }, "d6de4498b3e01594c1c7852f" ], "metrics": { "start_time": -51820917.6369314, "progress": 0.34105536958172356, "end_time": 56031792.21414685, "user": "b2ee0a57664323ad5ea6e865", "owner": "1c3cb401288598a0cd038f9f" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }