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": "c0FbDD6c-49BA-Cd30-b1A1-98fD3B82528E",
"location": "Application",
"view": null,
"status": "complete",
"app": "qui quis aliqua non anim",
"name": "amet non tempor ea",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/x.dqy6eGDlk"
},
{
"type": "encryption",
"pointer": "/A2/~0/~0/BCJyqDvt/~1/uooTOMauoX/~0/~1"
}
]
},
"last_updated": "1985-04-18T13:43:48.827Z",
"encodingVersion": 1,
"job": {
"_id": "dc69e097655975e5c003cf27",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"61a89d52beb06c9edc117c78",
"c2642e07c4f1312759cd33be"
]
},
"groups": [
"b2eb02b9cf5701e223f1803a",
"6ddc8c8a37ca97082fcbad75",
"782013e3ab384277b2a49e97"
],
"type": "automatic",
"metrics": {
"start_time": "laboris",
"end_time": 5526573.528304502,
"server_id": "dolore voluptate",
"finish_state": "success",
"run_time": -11678908.436488375,
"retrying": true,
"user": "e06e4b46003dae6156536459",
"owner": "Pronghorn"
}
}
}