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": "5Cfc10B0-126B-38b8-eb5d-e8C61ebd4554",
"location": "Adapter",
"view": null,
"status": "failure",
"app": "anim sint",
"name": "consectetur consequat",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/zArQE+G/djTqK7/j0kCqaD4p/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/RD8kV/~1"
},
{
"type": "encryption",
"pointer": "/Bti+owShS+/~0/epJ,pp113Ar/q,zG"
},
{
"type": "encryption",
"pointer": "/hr2O/~1/~0/~1/CuN-"
},
{
"type": "encryption",
"pointer": "/~0/~0/PKP0qlelJcA/~1/oVg"
}
]
},
"last_updated": "1995-08-03T21:16:42.356Z",
"encodingVersion": 1,
"job": {
"_id": "53cd54998c7d4cf08cb6988a",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"5487846c55a401920f577e9e"
]
},
"groups": [
{
"_id": "ee186cc83a4316b8f82cd727",
"provenance": "in sint id anim",
"name": "quis magna pariatur commodo dolore",
"description": "et ut officia consectetur aliquip",
"memberOf": [
{
"groupId": "10e27854e24eff1b0a62aff7",
"aaaManaged": true
},
{
"groupId": "620e70a45e7ffe950e081742",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "sit eiusmod laborum enim"
},
{
"roleId": "tempor labore"
},
{
"roleId": "in Ut tempor nulla Excepteur"
},
{
"roleId": "laboris"
},
{
"roleId": "velit laboris in"
}
],
"inactive": false,
"_meta": {
"created": "1951-03-22T23:17:40.079Z",
"updated": "1997-03-29T02:29:47.39Z",
"migrationVersion": 50693499
}
}
],
"type": "operation",
"metrics": {
"start_time": "ad incididunt non in voluptate",
"end_time": 34000114.87635486,
"server_id": "sed et sunt occaecat",
"finish_state": "failure",
"run_time": -61607521.01816236,
"retrying": null,
"user": "a7e0ab6913fe66f4f4812932",
"owner": "7b89c3981ba9b36c73a98e5b"
}
}
}