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 retrieved search results",
"data": {
"_id": "1B9dbeA7-C360-fc2F-E3F3-EEfe6A2cAFf7",
"location": "Adapter",
"view": null,
"status": "failure",
"app": "veniam fugiat dolore tempor sunt",
"name": "Ut tempor",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/aMK/Hxh4kK5/~1/db73/~1/~1/dc7U"
},
{
"type": "encryption",
"pointer": "/~1/YGu.u/yGE.x4e./~0/Sx8OFwXoV7/~0/Gkvbo"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/POBw2/kFJe6,E2J/~0/FlHAAA/RRzXwnkFPGQ/~1/~1"
}
]
},
"last_updated": "1995-07-16T15:39:23.304Z",
"encodingVersion": 1,
"job": {
"_id": "f28d3d39d1426831f5e4a787",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
{
"_id": "19730ee6c2fbe364140ea514",
"provenance": "ipsum ullamco amet esse consequat",
"name": "proident aliqua non sint incididunt",
"description": "non",
"memberOf": [
{
"groupId": "acd9447b517578bec1414861",
"aaaManaged": false
},
{
"groupId": "a28d3008588596cf807ba17a",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "in"
},
{
"roleId": "deserunt"
}
],
"inactive": false,
"_meta": {
"created": "1960-10-19T03:42:47.966Z",
"updated": "1967-09-24T00:31:28.138Z",
"migrationVersion": 98837581
}
}
],
"type": "automatic",
"metrics": {
"start_time": "sint reprehenderit sunt nulla",
"end_time": -69374267.89292638,
"server_id": "Duis Excepteur officia",
"finish_state": "success",
"run_time": -76551318.77475584,
"retrying": true,
"user": "",
"owner": "eb6508c587ae4fed0be9c880"
}
}
}