Summary
Claim a task
Description
Assign a Task to the current user.
Route
POST /operations-manager/tasks/:taskId/claim
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
taskId |
string |
yes |
The id of the Task iteration to be claimed. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the claim operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "B0a505ad-889C-AB2b-A0a0-aaD290020b22",
"location": "Adapter",
"view": "eu esse ut",
"status": "error",
"app": "proident laborum eiusmod in consectetur",
"name": "incididunt eu quis laboris",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/ssCW/uQr/~1/~0/~0/rE5l./a+/yhX/zY/StLq6hqZqbv/~1"
},
{
"type": "encryption",
"pointer": "/GG/~0/~1/gn.SKYvZ/j8/~1/QyQN7hl/~1/~0/lD5"
},
{
"type": "encryption",
"pointer": "/~1/P/lV-/s9Bi5o4hM/mEA-8FO/~1/~1/~1/xIUskXjY/~0"
}
]
},
"last_updated": "1971-08-08T03:46:09.33Z",
"encodingVersion": 1,
"job": {
"_id": "81bbc83dc30ae83f67d51e12",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"51b5c3aad68e8eca411ca2cf",
"7dd9b24ccc333524dc1184bc",
{
"_id": "11df460c0bdddada51475fd8",
"provenance": "consequat magna",
"name": "cupidatat consequat",
"description": "consequat",
"memberOf": [
{
"groupId": "03dc932da5cc23ac41fcc549",
"aaaManaged": true
},
{
"groupId": "ca533fbd64fd9d56ac54e6e2",
"aaaManaged": false
},
{
"groupId": "715c7d9b991b05dab3f3d5f0",
"aaaManaged": false
},
{
"groupId": "93025c3e9092cb5a1aa16762",
"aaaManaged": true
},
{
"groupId": "8f2c1dc469940696573661d2",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "dolor culpa"
}
],
"inactive": true,
"_meta": {
"created": "1992-12-25T14:04:08.83Z",
"updated": "1956-07-19T12:16:10.068Z",
"migrationVersion": 29535558
}
}
],
"type": "operation",
"metrics": {
"start_time": "quis",
"end_time": -68980053.01999745,
"server_id": "labore",
"finish_state": "success",
"run_time": -14923630.015299588,
"retrying": null,
"user": "d0766444cfcbe2179ef2ef53",
"owner": "25894829190d530b0799228b"
}
}
}