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": "BAC387ED-6792-41aa-B8bB-204AAA7CBb0f",
"location": "Application",
"view": "do sit nisi consequat eiusmod",
"status": "failure",
"app": "Duis do Lorem Excepteur",
"name": "mollit nostrud",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/RcG/~1/V+/~1"
},
{
"type": "encryption",
"pointer": "/LP9Z8/NQZKIT6/~0/~1/~0/~0/Xw9sji9/kC/jpOAYz/~0/FEAo.Cs9nv/zl-72H"
},
{
"type": "encryption",
"pointer": "/R62ofDg.DX6/~0/~1/i+iKHixz"
}
]
},
"last_updated": "1946-03-30T12:51:53.104Z",
"encodingVersion": 1,
"job": {
"_id": "5d3122b255dfc327ee0db852",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"7504bfad144fa3a7e0ce6492",
"333df3f43f22b381663c76ca",
"e6283408fac30fcf123a7869"
]
},
"incomingRefs": [],
"groups": [
"fb623be8302a5a02ad352041"
],
"type": "manual",
"metrics": {
"start_time": "qui",
"claim_time": "2015-10-12T01:11:51.687Z",
"end_time": -97309346.48646641,
"server_id": "ad non in ut",
"finish_state": "success",
"run_time": -59050622.62115788,
"user": "",
"owner": {
"_id": "8398b216cbec2ed41c59e92c",
"provenance": "qui",
"username": "velit dolore aliqua officia",
"firstname": "ex dolore Lorem do",
"memberOf": [
{
"groupId": "fbfdc1ba18cd50322f37ee1b",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "quis consectetur reprehenderit nulla"
},
{
"roleId": "sint deserunt"
},
{
"roleId": "dolor magna velit ullamco"
},
{
"roleId": "exercitation"
},
{
"roleId": "in amet tempor officia"
}
],
"inactive": false,
"lastLogin": "1990-11-18T21:18:08.186Z",
"_meta": {
"created": "1957-12-12T00:00:16.412Z",
"updated": "2016-12-08T19:41:58.49Z",
"migrationVersion": -54785801
},
"email": "velit reprehenderit eiusmod dolor consectetur"
}
}
}
}