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": "73e9bB4A-6e02-1Edd-FBf6-698B8f3eD82d",
"location": "Application",
"view": "Ut mollit pariatur",
"status": "canceled",
"app": "sunt labore",
"name": "est cillum",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~1/~1/e0i1BbVTC7d/~0/c.Vg5IQ/~1/Vw"
}
]
},
"last_updated": "1952-08-02T01:23:21.437Z",
"encodingVersion": 1,
"job": {
"_id": "17f50136368c72eb7b22b35e",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"a15222549e59ea66288de45b",
"6f635f83993a195909453689",
"d0e037f144f15e51cd40b3ea",
"395b995a6c9a633af2d2e017",
"8c8efe67576ead45c38d51ae"
],
"type": "manual",
"metrics": {
"start_time": "exercitation",
"claim_time": "1987-06-23T05:50:53.648Z",
"end_time": -98356192.08346476,
"server_id": "dolor culpa ut",
"finish_state": "failure",
"run_time": 31541509.11890565,
"user": "",
"owner": "347969ba1e735e37050f2105"
}
}
}