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": "EbF7C5b0-A5a3-9632-32eD-1cf1E2D4e4ff",
"location": "Adapter",
"view": "dolor",
"status": "error",
"app": "est commodo anim veniam",
"name": "do Excepteur in magna",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/W./n-tUeF2b"
},
{
"type": "encryption",
"pointer": "/~0/JFJltOBU3u0/f9/s8eFPOr/~0/K2nHxQG1h"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/LrsciQ0x/mKPw6mC6cA/innEP/xrX/~0/NvgtHnmv.uz"
},
{
"type": "encryption",
"pointer": "/Xt.9P,ad/y9sX6I/~0"
},
{
"type": "encryption",
"pointer": "/Net95/fp,/~1"
}
]
},
"last_updated": "1958-05-21T16:21:34.173Z",
"encodingVersion": 1,
"job": {
"_id": "874f0397f7d3567776bbcfba",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"1d9ec025953cbe3ff16697c3"
],
"type": "manual",
"metrics": {
"start_time": "tempor cillum",
"claim_time": "2013-10-08T17:49:56.671Z",
"end_time": 29577053.776872605,
"server_id": "pariatur laboris aute labore",
"finish_state": "success",
"run_time": 26796535.14638467,
"user": {
"_id": "48fe0278fd835f6579d56ee3",
"provenance": "quis laboris cupidatat nulla",
"username": "minim",
"firstname": "cillum aute cupidatat",
"memberOf": [
{
"groupId": "4da96093b505d8531d2d7f25",
"aaaManaged": true
},
{
"groupId": "a2131be2819d3d36da0de1a1",
"aaaManaged": true
},
{
"groupId": "ebf24a48e9f563c364eac233",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "Lorem velit culpa officia minim"
},
{
"roleId": "culpa fugiat aute"
},
{
"roleId": "officia nulla fugiat enim esse"
},
{
"roleId": "sunt velit"
},
{
"roleId": "Lorem deserunt pariatur dolore exercitation"
}
],
"inactive": false,
"lastLogin": "1961-05-02T10:33:06.327Z",
"_meta": {
"created": "2007-05-28T09:44:52.823Z",
"updated": "1997-01-29T04:20:39.862Z",
"migrationVersion": 51461640
},
"email": "in velit laboris"
},
"owner": "8697af202832dd74d57a905d"
}
}
}