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": "D71eFF1c-ddE3-FbBE-1F80-9107Ea49f667",
"location": "Adapter",
"view": null,
"status": "canceled",
"app": "do",
"name": "Ut adipisicing cillum cupidatat",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/h+g/~1/HglzPMj9h/~1/x8x74EQ2v/fJW6JFY"
},
{
"type": "encryption",
"pointer": "/k/~0/R8nnm/Sz9qjL4CiT6/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/O4Y3VN9Y/~0/XMMuNZRu/vkrr5zGF6"
},
{
"type": "encryption",
"pointer": "/tX1PNVpQGEX/~0/~1/Qs+/zEA0iDz/BDI+/e+D7Th0mgB"
}
]
},
"last_updated": "1985-12-20T03:58:08.847Z",
"encodingVersion": 1,
"job": {
"_id": "ecf881baa3ede7ccace36346",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"c388092f8a93d420a6a93617"
],
"type": "automatic",
"metrics": {
"start_time": "in labore Duis reprehenderit proident",
"end_time": 45527841.723045856,
"server_id": "velit magna consequat ad reprehenderit",
"finish_state": "success",
"run_time": 57931492.71235371,
"retrying": null,
"user": "Pronghorn",
"owner": "c92abf351c2507c13b718e25"
}
}
}