Summary
Claim a task
Description
Assign a Task to the current user.
Route
POST /operations-manager/tasks/:taskId/claim
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
taskId | string | yes | The id of the Task iteration to be claimed. |
null
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
result | object | The result of the claim operation. |
{ "message": "Successfully imported 3 of 4 documents", "data": { "_id": "4EcaD5Df-BE7c-0A23-5591-0906Cf2A329b", "location": "Broker", "view": "irure sed quis consectetur pariatur", "status": "error", "app": "irure dolor culpa aute laborum", "name": "dolor", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/U9+Q3Q/VM/S6/ck5/mf/~1/Sx-" }, { "type": "encryption", "pointer": "/~1/Md/~0" }, { "type": "encryption", "pointer": "/~1" } ] }, "last_updated": "1964-06-13T06:59:28.503Z", "encodingVersion": 1, "job": { "_id": "b7b469a2fb19518d4144de7e", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ "d83949659a39fdcac6cef87e", { "_id": "884f36cafe4cbf1ae01f174c", "provenance": "elit mollit cupidatat incididunt in", "name": "ut magna eiusmod", "description": "in minim qui exercitation", "memberOf": [ { "groupId": "a8b095d85509127b045d37da", "aaaManaged": false }, { "groupId": "6a2dc4f530fa656fe9be47f2", "aaaManaged": true }, { "groupId": "25a0446781b3ebefeba5576c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "tempor ipsum irure" }, { "roleId": "laboris" }, { "roleId": "consequat commodo" }, { "roleId": "nisi dolor aliquip est" }, { "roleId": "in in exercitation dolore" } ], "inactive": true, "_meta": { "created": "2014-05-25T22:28:28.877Z", "updated": "1976-01-06T15:08:33.486Z", "migrationVersion": 12947229 } }, { "_id": "5aa2374e816bef1eb028cc74", "provenance": "velit minim mollit cupidatat sint", "name": "culpa", "description": "enim minim exercitation", "memberOf": [ { "groupId": "2d297ff218bf60aede21fcdf", "aaaManaged": true }, { "groupId": "8e8755bb0d32514d46bf616d", "aaaManaged": false }, { "groupId": "f9686f62c8d52d49ebb85202", "aaaManaged": false }, { "groupId": "e0fe9f527d74e67a2c21ee8b", "aaaManaged": true }, { "groupId": "5b446d8789c9368da3528415", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod do consequat cupidatat nostrud" }, { "roleId": "ut culpa" } ], "inactive": true, "_meta": { "created": "1968-10-30T07:12:17.076Z", "updated": "1981-10-28T12:26:10.456Z", "migrationVersion": -68781792 } }, { "_id": "48e8d89a9f25a5a506c64159", "provenance": "eu", "name": "cillum", "description": "sint", "memberOf": [ { "groupId": "1b96a44bb98f24b9a36a1ef3", "aaaManaged": false }, { "groupId": "91e66f77ca28ea7a4b45f31b", "aaaManaged": true }, { "groupId": "eaa41b1bd86beafdcee89624", "aaaManaged": false }, { "groupId": "e562441373d604b38087b6c5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "anim est" }, { "roleId": "tempor anim" }, { "roleId": "minim deserunt ea magna" }, { "roleId": "ut reprehenderit tempor consectetur in" }, { "roleId": "mollit non ullamco" } ], "inactive": false, "_meta": { "created": "2020-03-11T06:47:25.471Z", "updated": "2005-12-15T02:18:11.155Z", "migrationVersion": 89394466 } } ], "type": "automatic", "metrics": { "start_time": "Excepteur", "end_time": 3834124.7746632546, "server_id": "elit magna tempor eiusmod in", "finish_state": "success", "run_time": 3393548.552741915, "retrying": null, "user": "25ada64f28f27bbd98bfb6c3", "owner": { "_id": "2bfd6bfbfb676566537e2bbf", "provenance": "dolore ut officia ut", "username": "ut", "firstname": "consectetur est laboris", "memberOf": [ { "groupId": "fd6955a8b501a13bc109d4be", "aaaManaged": true }, { "groupId": "c9b011274296e8d2fd3af96b", "aaaManaged": true }, { "groupId": "503906df9ac578e58e408d3d", "aaaManaged": true }, { "groupId": "c34260a737bc36bcc29b9e07", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa sit tempor magna dolore" }, { "roleId": "minim est" }, { "roleId": "veniam ipsum et dolor deserunt" }, { "roleId": "quis" }, { "roleId": "proident esse Excepteur do nisi" } ], "inactive": false, "lastLogin": "1985-05-30T18:43:37.818Z", "_meta": { "created": "1949-07-25T21:09:28.474Z", "updated": "2007-09-08T04:28:05.539Z", "migrationVersion": -20098415 }, "email": "est cillum labore culpa" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "task-api" } } } ] }