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": "d950dc5e6c468eaca57605de"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "8127f34F-fC24-b468-ff76-64bd14EC6BD1",
"location": "Broker",
"view": null,
"status": "complete",
"app": "ut velit reprehenderit",
"name": "aliqua dolor",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/VzWPAe6RJ/ncd910gSy/U./Uo/~0/~1/o/~1"
},
{
"type": "encryption",
"pointer": "/nzjQE+/wrFeGR/~0/FV0W7lgL/~0/~1/ce7b3gwI/~0/~0/B0lJv3.5"
},
{
"type": "encryption",
"pointer": "/J/v/Xha/PH829k/~0/ipk/~0/qPn2/kLAaLC/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/TPvVcveePqP/~0/~0/qYirht,7k/~0/L,-c5oJOqW/hL6KR"
},
{
"type": "encryption",
"pointer": "/LK8+RfZh/qbpEi2ptwq"
}
]
},
"last_updated": "1955-04-25T14:36:56.339Z",
"encodingVersion": 1,
"job": {
"_id": "82e3628b8cef7aa896d87796",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"c5baf6ac1dbd43fd1921fa68",
"3654d973c0173c76f748d860",
"0db509f6738569df8632888f"
]
},
"groups": [
"1f0dbe91a874bab57e588955",
"7bef0fc2b92dc678e9b4e0ba",
"ea17398de568291dabfd13e9",
"9ad350cea4cf05f782f4377d",
"de6729386f1e5eb4cc00d6f6"
],
"type": "operation",
"metrics": {
"start_time": "occaecat ex aute cillum",
"end_time": -45389524.845813334,
"server_id": "nisi laborum velit qui officia",
"finish_state": "incomplete",
"run_time": -31824499.282629892,
"retrying": null,
"user": "bad17a8dbc8669fdbe3e100d",
"owner": "28f6e8ba4e08919a0c81feec"
}
}
}