Summary
Assign a task to a user
Description
Assign a Task to a user.
Route
POST /operations-manager/tasks/:taskId/assign
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
taskId |
string |
yes |
The id of the Task iteration to be assigned. |
userId |
string |
yes |
The identifier of the user to assign to the task |
Copied to Clipboard
{
"userId": "e869a034be13ce401da69440"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "725b163d-1CCD-12E6-1E9C-F3f79B9dBDad",
"location": "Application",
"view": "dolor anim",
"status": "failure",
"app": "qui eiusmod sed",
"name": "ad",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/L/~1/~1/~0/~1/q0BKJBELn-t/dm+4+9k"
},
{
"type": "encryption",
"pointer": "/TQFPn/w-ykAZm/SO1NkBt+aGj/UdbI9yA"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0/q"
}
]
},
"last_updated": "1984-08-03T15:42:36.041Z",
"encodingVersion": 1,
"job": {
"_id": "08a411d2931b88dc9ddd50de",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"21c2cc62c36f31cbfa2b2846"
],
"type": "operation",
"metrics": {
"start_time": "do officia sunt commodo eu",
"end_time": 18364280.49463889,
"server_id": "nulla",
"finish_state": "success",
"run_time": -63807162.11530592,
"retrying": true,
"user": "",
"owner": "50c0dd61166376d1e1ab68fb"
}
}
}