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": "d61C7D4a-E7BE-a839-0e7E-Ddbb4A2E4DC0",
"location": "Broker",
"view": null,
"status": "running",
"app": "eu",
"name": "enim officia amet",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/hmbVohm/~1/~1/~0/~1/rK/~1/~1/Br0G,FgcClQ/~1"
},
{
"type": "encryption",
"pointer": "/~1/TWAIJplf/~1/xBqzFKiLk2/o9/Nep.Ddmfa/~1/tNRY2/OVcoKNQI0"
},
{
"type": "encryption",
"pointer": "/~1/K5m9"
},
{
"type": "encryption",
"pointer": "/OFXVazV/~1/~1/HCpnps/LHb+X/CfMsP0U/de34KP1JXm0/YXjQcMB0-/G.zs,d/~1/EO-D"
}
]
},
"last_updated": "1982-04-20T12:42:21.607Z",
"encodingVersion": 1,
"job": {
"_id": "42537a35f2e8adbe8748a811",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"8a7f8fbcb3b993d6a3ea9a8e",
"7b3ae35051b1870356631d02",
"29630b3937c4f8e2319fc867",
"743ec70b9213c569d407b8b3",
"39459a39edff72334befc054"
]
},
"incomingRefs": [],
"groups": [
{
"_id": "0c555566b44f93e75740f144",
"provenance": "commodo",
"name": "incididunt enim ad ullamco",
"description": "mollit Ut",
"memberOf": [
{
"groupId": "a7c237454174a69fba65bb97",
"aaaManaged": false
},
{
"groupId": "e31f905f0bf567c5c8f1d97c",
"aaaManaged": false
},
{
"groupId": "1c5c70b60c3d2ee61cb55529",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "ea dolor dolor do"
}
],
"inactive": false,
"_meta": {
"created": "1986-02-22T00:50:55.586Z",
"updated": "1974-06-05T21:51:29.3Z",
"migrationVersion": 4710421
}
}
],
"type": "automatic",
"metrics": {
"start_time": "qui",
"end_time": -54352071.06161317,
"server_id": "est irure",
"finish_state": "success",
"run_time": -70907923.76972747,
"retrying": null,
"user": "99e059ee7401973c371f01af",
"owner": "a0d6b13c4c964d04e98bbf76"
}
}
}