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 imported 3 of 4 documents",
"data": {
"_id": "B9AE36b3-1Aff-5A89-b694-0cC28D2aC1Bf",
"location": "Broker",
"view": "in sed est officia dolor",
"status": "failure",
"app": "minim sint",
"name": "Duis incididunt dolore",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/EOd3SMEl/h/~0/ThlbaYTIh/ko2If/w8dr/~1/~0/KSunXWsNT/Q/aKmT4/14O"
},
{
"type": "encryption",
"pointer": "/aW/2TZ/B5uU4F.2qD/~1"
},
{
"type": "encryption",
"pointer": "/cMI3C.0Hkt./RxxK,umxf3/de/~1"
},
{
"type": "encryption",
"pointer": "/x.A4A/~1/HklQmkSHh/R4Dr8uFa5YK/WYg/x8-K/U4HCl/~0/~1/~0/~1"
}
]
},
"last_updated": "1980-08-04T00:01:04.867Z",
"encodingVersion": 1,
"job": {
"_id": "bbc63cc64937726f2b48a7a0",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"a3c9989b23d052f1da6c887d"
],
"type": "manual",
"metrics": {
"start_time": "do dolor in sed nisi",
"claim_time": "2021-04-03T03:19:17.261Z",
"end_time": 93789610.24776044,
"server_id": "qui Excepteur",
"finish_state": "success",
"run_time": 76990828.13046017,
"user": "",
"owner": "Pronghorn"
}
}
}