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 created the requested item",
"data": {
"_id": "aeB424DA-7B3B-dAdE-0fF8-DAcB3aA0d0aa",
"location": "Application",
"view": null,
"status": "canceled",
"app": "esse enim",
"name": "ullamco veniam",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/pNxL/~0"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~1/ySOnZog/me.6VJTB/~0/~0/hnXX7H2nX/~0/~0/zoqrb"
}
]
},
"last_updated": "2001-11-18T12:20:43.105Z",
"encodingVersion": 1,
"job": {
"_id": "f4a51d8fbe856feab3eb5775",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"53db5fc9b4833f46168cc23d",
"29e7a434bd3604a0caa1d1dc",
{
"_id": "16d52b8a4d3eebc4cc04f280",
"provenance": "esse non ut",
"name": "voluptate adipisicing ipsum",
"description": "irure elit",
"memberOf": [
{
"groupId": "121c8c02b82643af98b92503",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "aliquip"
},
{
"roleId": "veniam dolor ullamco"
},
{
"roleId": "voluptate nisi"
},
{
"roleId": "qui proident"
}
],
"inactive": false,
"_meta": {
"created": "2021-04-09T13:57:57.16Z",
"updated": "1965-02-18T19:59:28.128Z",
"migrationVersion": -5592924
}
},
"05ec398a6d5508a7d0589280",
"550184399d869b2487e57704"
],
"type": "automatic",
"metrics": {
"start_time": "nulla anim occaecat cupidatat non",
"end_time": 16800918.526720792,
"server_id": "officia irure sed",
"finish_state": "error",
"run_time": -32620325.57453826,
"retrying": null,
"user": "Pronghorn",
"owner": "895c9434b8e0fddb029ed254"
}
}
}