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": "da918888404b8393940a35be"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "2AA9D56B-fE1C-A50d-e13c-0bb03B3Efa7A",
"location": "Adapter",
"view": null,
"status": "failure",
"app": "non sed reprehenderit",
"name": "Ut cupidatat",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/PLji/hGMuroFN"
}
]
},
"last_updated": "2006-03-11T15:43:14.201Z",
"encodingVersion": 1,
"job": {
"_id": "12711afdda354fccf03be154",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"2ded9c8d98ac5f63f4890871"
],
"type": "operation",
"metrics": {
"start_time": "in sed Ut magna quis",
"end_time": 88918681.27433607,
"server_id": "voluptate cupidatat aute enim elit",
"finish_state": "success",
"run_time": 59328764.067012876,
"retrying": true,
"user": "Pronghorn",
"owner": "Pronghorn"
}
}
}