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": "AE3bE5c7-067C-AaC8-cD33-fA351d9c6D30",
"location": "Broker",
"view": null,
"status": "incomplete",
"app": "exercitation deserunt",
"name": "eu",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/uJEo-9/~1/nKCoe5t/B"
},
{
"type": "encryption",
"pointer": "/~1/~1/~1/~0/xDYV8bZb-/~1/cOuc6,"
}
]
},
"last_updated": "1954-10-31T21:49:59.692Z",
"encodingVersion": 1,
"job": {
"_id": "d76abe19340d88eb318cd11b",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"ddeaa150b905411e7ab13461",
"593d1da87c84ff8731aa1a69",
{
"_id": "787390f60537feed9149c5b7",
"provenance": "et fugiat qui laboris Lorem",
"name": "non in dolor nostrud",
"description": "non labore minim et voluptate",
"memberOf": [
{
"groupId": "92e25c4840384ff7927ebca2",
"aaaManaged": true
},
{
"groupId": "91584c74f86f25973d14abcb",
"aaaManaged": false
},
{
"groupId": "fa5f5ae20aa7bb26cb5a2bfa",
"aaaManaged": true
},
{
"groupId": "ab6f50c9530fe89e0e398732",
"aaaManaged": false
},
{
"groupId": "b948f5dd8897e1b8f4c38459",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "Ut minim et magna"
},
{
"roleId": "tempor consequat sunt in Duis"
},
{
"roleId": "anim est"
}
],
"inactive": true,
"_meta": {
"created": "1999-12-24T08:10:42.131Z",
"updated": "2022-12-20T07:45:50.071Z",
"migrationVersion": -18121143
}
}
],
"type": "automatic",
"metrics": {
"start_time": "veniam ut incididunt",
"end_time": 37076165.69191226,
"server_id": "in dolor aute veniam",
"finish_state": "complete",
"run_time": 96356352.51679814,
"retrying": null,
"user": {
"_id": "0b5d7246ab0a8a6409baa351",
"provenance": "quis commodo",
"username": "labore",
"firstname": "mollit ullamco",
"memberOf": [
{
"groupId": "8763249931c963dd466ec512",
"aaaManaged": false
},
{
"groupId": "92a47c384ad1dc4d7cf64c0e",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "adipisicing officia ut"
},
{
"roleId": "Duis officia"
},
{
"roleId": "aute"
}
],
"inactive": true,
"lastLogin": "2001-03-23T02:54:42.001Z",
"_meta": {
"created": "1975-04-15T01:21:43.808Z",
"updated": "2012-03-01T00:45:06.107Z",
"migrationVersion": -78827272
},
"email": "do cillum proident tempor nulla"
},
"owner": "b50f294474c0ed99ab909ef3"
}
}
}