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 created the requested item",
"data": {
"_id": "f0fa8AD1-1328-db69-938E-F6A083bb922a",
"location": "Broker",
"view": null,
"status": "complete",
"app": "est labore",
"name": "ad ea in",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/cWpd/~0/~0/~0/~1/l.Aq4"
},
{
"type": "encryption",
"pointer": "/nOdf4MLYq/GiwD/~0/~1/~1/~1/D-re9AKmB/~0/y2Q3TUHtl3M/iwj+xAlH/TFA"
},
{
"type": "encryption",
"pointer": "/Wsca6s/~1/Mc/qhX8JqmL/~1/aUD8n1/~1/~1/H"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/we.sg,Z/sA.UQ/aKG/~0/w/~1/La9"
}
]
},
"last_updated": "1988-03-10T10:30:26.176Z",
"encodingVersion": 1,
"job": {
"_id": "b4dca4319d63939fb216c05e",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"2fcf174d2b7e591f4426ea8b",
"6bd1200506ca6a3e364507af",
"207ceb8e8434b417c052889e",
"e74f7befb9bffb4ea66fd82b"
]
},
"groups": [
"a99dfe1ce79587e98c84f9ef",
"6a5e409d9fa7643956c222c2",
"9a2c282e0bbc0285b5f13d48",
"a3a046e0b39c567ffd38619e"
],
"type": "automatic",
"metrics": {
"start_time": "id dolore reprehenderit do",
"end_time": -53922321.16358269,
"server_id": "tempor",
"finish_state": "canceled",
"run_time": 59257125.334774464,
"retrying": false,
"user": "",
"owner": {
"_id": "fceb3d63b70033e3d67ba6d9",
"provenance": "culpa magna",
"username": "qui nisi eiusmod est",
"firstname": "sunt ullamco sed ipsum",
"memberOf": [
{
"groupId": "b55ad696d043cc844676d6bd",
"aaaManaged": false
},
{
"groupId": "634f01c4bcc0662b12366999",
"aaaManaged": false
},
{
"groupId": "7cb57272d1b54ef682c7b4fe",
"aaaManaged": true
},
{
"groupId": "158be36e24c5d423d27b5e0c",
"aaaManaged": false
},
{
"groupId": "85928e20d5b3914af8d88775",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "pariatur velit nostrud sunt elit"
},
{
"roleId": "dolore pariatur irure cupidatat"
},
{
"roleId": "aute amet aliquip Excepteur"
},
{
"roleId": "dolore labore"
}
],
"inactive": false,
"lastLogin": "1949-11-07T01:35:30.981Z",
"_meta": {
"created": "1975-03-26T11:43:33.708Z",
"updated": "2013-04-23T15:13:28.467Z",
"migrationVersion": 415968
},
"email": "dolore incididunt Lorem ex laborum"
}
}
}
}