GET ./chat/room
Return all details of a specific room.
Permission only with school config keys: grpEnabled.
Parameter cmRole can have the following value:
- 1 = regular member
- 2 = moderator
Observation: when the parameter crIsModerated is true, only moderator of this room can write a chat message. So, the moderator role has permision to read/write messages.
The users with member role can only read the messages.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
crID | int | Required | Room ID. |
withMemberRole | int | Optional | If present, a cmRole key will be present in the response that represents the member role. |