Lists all group moderators.
| HTTP Method | URL | Requires Auth |
|---|
GET | /api/v1/groups.moderators | yes |
| Key | Example Value | Description |
|---|
roomId* | ByehQjC44FwMeiLbX | The group ID. The parameter is required if roomName is not provided. |
roomName* | testGroup | The group name. The parameter is required if roomId is not provided. |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
http://localhost:3000/api/v1/groups.moderators?roomId=ByehQjC44FwMeiLbX
{
"moderators": [
{
"_id": "rocket.cat",
"username": "rocket.cat",
"name": Rocket.Cat
}
],
"success": true
}
| Version |
Description |
| 0.70.0 |
Added |