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 imported 3 of 4 documents",
"data": {
"_id": "fBa4cAEb-F3fe-e6B5-FDe8-19BdDCA7fDe3",
"location": "Broker",
"view": "incididunt",
"status": "complete",
"app": "in quis dolor labore nulla",
"name": "Duis consequat enim voluptate",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/esjlN/T5dLsPkDA7/m+B/~0/Ekh8war./~1/D9/~1/x/~0"
},
{
"type": "encryption",
"pointer": "/cTE01xh5T+N/~1/~0/~1/~1/~1/R6w/vvZIp/Sxzb8dC1/j/~1"
}
]
},
"last_updated": "2018-05-13T00:29:38.579Z",
"encodingVersion": 1,
"job": {
"_id": "4e643cd83f36c7df158b5536",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
{
"_id": "481708281abe9ac81dab539e",
"provenance": "tempor",
"name": "velit dolor id cillum in",
"description": "consectetur",
"memberOf": [
{
"groupId": "9f0e45ad7592828f165c0a03",
"aaaManaged": false
},
{
"groupId": "6e02d5fa2c7dc7448d8b0713",
"aaaManaged": false
},
{
"groupId": "f975f9d96dfb5dcc7113f846",
"aaaManaged": true
},
{
"groupId": "8c8f2d097876dfd9022d7289",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "laborum ut amet nostrud"
},
{
"roleId": "ea dolore"
}
],
"inactive": false,
"_meta": {
"created": "2021-04-14T01:24:51.305Z",
"updated": "2001-04-07T05:18:58.622Z",
"migrationVersion": -94966299
}
}
],
"type": "manual",
"metrics": {
"start_time": "ullamco adipisicing ut reprehenderit",
"claim_time": "2015-05-21T16:04:58.767Z",
"end_time": 21469573.9676992,
"server_id": "eiusmod ipsum qui culpa amet",
"finish_state": "running",
"run_time": 78549340.6652138,
"user": "Pronghorn",
"owner": "c4381eab1bd8057128c50c94"
}
}
}