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": "edeaaa2263981e98b6eda107"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "b5e3F2ba-18Aa-9AD7-425C-77c237fFacEA",
"location": "Broker",
"view": "Duis ut",
"status": "complete",
"app": "nostrud eiusmod minim deserunt ad",
"name": "elit ut dolor veniam laborum",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/Z/r/~0"
},
{
"type": "encryption",
"pointer": "/Xmoc+2rmRkF/R/SFk/~0/~0/~0"
}
]
},
"last_updated": "1964-07-15T08:39:49.676Z",
"encodingVersion": 1,
"job": {
"_id": "066807ac3411dcbabffb3f32",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
"06f63b29b2ef1f5bbbca1b77",
{
"_id": "d9b0665fa29b5c8861de7fb4",
"provenance": "est aliquip reprehenderit et",
"name": "esse velit et",
"description": "enim qui incididunt",
"memberOf": [
{
"groupId": "0ccb1a46e5b855489fc11680",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "ad Ut ut deserunt"
},
{
"roleId": "exercitation"
},
{
"roleId": "adipisicing"
},
{
"roleId": "occaecat mollit elit ad"
},
{
"roleId": "et enim"
}
],
"inactive": false,
"_meta": {
"created": "2022-12-08T18:28:45.833Z",
"updated": "1965-11-23T15:05:46.343Z",
"migrationVersion": -90761133
}
}
],
"type": "manual",
"metrics": {
"start_time": "aute Lorem sint",
"claim_time": "1947-05-04T20:24:15.375Z",
"end_time": 66334507.980211556,
"server_id": "ut in laborum",
"finish_state": "paused",
"run_time": 94946064.81284547,
"user": "Pronghorn",
"owner": "6782629dd9dc56b4ea09a586"
}
}
}