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": "eE4E4cc4-57a6-A698-6C07-C4cc52aCBaFe",
"location": "Application",
"view": null,
"status": "error",
"app": "anim aliquip laboris",
"name": "ad ut fugiat",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/Md+paXjjcS/yUl/hwHcuk/~1/qLbBgmz/wY8w852ag/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/fVbt-/~1"
},
{
"type": "encryption",
"pointer": "/AI1ng8o/~1/~1/~0/nhDYoV8/~0"
}
]
},
"last_updated": "1994-12-24T23:19:05.376Z",
"encodingVersion": 1,
"job": {
"_id": "fe886f1388b354ca3c5b8c72",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"e4c46db964cdf268ba5c81b5",
{
"_id": "b1a491bdf01af50f9ffe6d60",
"provenance": "reprehenderit deserunt ea",
"name": "mollit sed",
"description": "dolore fugiat",
"memberOf": [
{
"groupId": "df174230ecd61b66e1fc41a2",
"aaaManaged": false
},
{
"groupId": "4cc066c89f33faa5b9cabee1",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "ut do"
},
{
"roleId": "dolore nostrud"
},
{
"roleId": "fugiat laborum"
},
{
"roleId": "nostrud"
}
],
"inactive": true,
"_meta": {
"created": "1997-09-30T18:32:07.397Z",
"updated": "1978-11-19T14:31:11.619Z",
"migrationVersion": -61763167
}
},
{
"_id": "4f9ced86a0f86f8720c540df",
"provenance": "Lorem",
"name": "enim consequat",
"description": "adipisicing eu in veniam",
"memberOf": [
{
"groupId": "6a70d1beae1c7638ade381ef",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "in"
}
],
"inactive": true,
"_meta": {
"created": "1952-05-16T03:32:02.202Z",
"updated": "1987-05-12T21:12:37.932Z",
"migrationVersion": 93517099
}
},
"1c4351d90c54b9950717023f"
],
"type": "manual",
"metrics": {
"start_time": "Lorem id dolor esse",
"claim_time": "1981-10-23T13:30:28.08Z",
"end_time": -91545895.79690042,
"server_id": "ut Duis aute incididunt amet",
"finish_state": "success",
"run_time": 91542308.35912606,
"user": "Pronghorn",
"owner": "96da438d8648633d63fa3a7f"
}
}
}