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": "80d04086ca854af752e8417d"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "FEDaa44D-B9bC-A19D-Eb0c-C84a0E3f410b",
"location": "Application",
"view": "proident ex mollit enim",
"status": "incomplete",
"app": "cupidatat irure",
"name": "incididunt aliquip do proident",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/vzd/hdmR5-"
},
{
"type": "encryption",
"pointer": "/~0/xNV8lAP/P-D/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0"
}
]
},
"last_updated": "1978-12-02T17:27:09.87Z",
"encodingVersion": 1,
"job": {
"_id": "ac9da01a35faf9a4bd572e48",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"groups": [
{
"_id": "c899ed49e0b2b15bd75a7a28",
"provenance": "fugiat consequat aliquip deserunt",
"name": "Excepteur id enim",
"description": "ullamco dolor",
"memberOf": [
{
"groupId": "53168697d9cf4f9be8946ae6",
"aaaManaged": true
},
{
"groupId": "1b6cd0b0155536fe68f75eee",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "labore nostrud dolore mollit do"
}
],
"inactive": false,
"_meta": {
"created": "2018-02-08T00:06:09.617Z",
"updated": "1999-01-19T00:04:10.199Z",
"migrationVersion": 58670247
}
}
],
"type": "manual",
"metrics": {
"start_time": "in veniam aliquip",
"claim_time": "2013-10-28T16:38:57.525Z",
"end_time": -2707914.648869276,
"server_id": "nostrud",
"finish_state": "running",
"run_time": -64171396.39241114,
"user": "Pronghorn",
"owner": ""
}
}
}