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": "7c0E59Af-b02d-3F60-2d08-3b3A745ef61f",
"location": "Application",
"view": null,
"status": "error",
"app": "cupidatat aliquip fugiat esse",
"name": "magna tempor",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/T/~1/FSxXh74JJF/~0/hYcl/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/qvYx+G/DNrQI9-/~0/~1/Q5-/vTH/~1/U+P/QiDz/,/o-swRCrT"
},
{
"type": "encryption",
"pointer": "/n+YRBqlDl,/ftzG9zH0C"
}
]
},
"last_updated": "1988-02-13T23:25:37.262Z",
"encodingVersion": 1,
"job": {
"_id": "66beae6b480cea8174a9e346",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"d031bd0fb2f14c25378b8325",
{
"_id": "8eeec0f3eeb1b4c332deb29f",
"provenance": "pariatur dolor do sint",
"name": "minim Ut",
"description": "labore dolore pariatur laboris",
"memberOf": [
{
"groupId": "8d66acf53842381276a8e4fe",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "commodo dolor"
},
{
"roleId": "ipsum voluptate"
},
{
"roleId": "occaecat est et laborum ut"
},
{
"roleId": "consectetur et"
}
],
"inactive": false,
"_meta": {
"created": "2015-12-21T10:15:55.323Z",
"updated": "1970-05-19T08:56:52.061Z",
"migrationVersion": -54587973
}
},
"d0894eadd4c00cdf89a31235"
],
"type": "operation",
"metrics": {
"start_time": "in quis Lorem",
"end_time": -43071241.2617126,
"server_id": "culpa",
"finish_state": "incomplete",
"run_time": -42335270.916708544,
"retrying": false,
"user": "Pronghorn",
"owner": ""
}
}
}