Create a room
Create a new room
| Request Body — REQUIRED |
|---|
name string — REQUIREDThe name of the room |
descriptionThe description of the room |
iconURLThe URL of the room's icon |
isPublic booleanWhether the room is public or not. Defaults to false |
studentsWhitelist undefined[]The list of students allowed to join the room. Effective only if isPublic is false. Accepts both UIDs and logins. Defaults to an empty array |
studentsBlacklist undefined[]The list of students not allowed to join the room. Effective only if isPublic is true. Accepts both UIDs and logins. Defaults to an empty array |
| Responses | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Successful response
| ||||||||||||||
401Unauthorized
| ||||||||||||||
403Forbidden
| ||||||||||||||
429Too Many Requests
| ||||||||||||||
500Internal Server Error
|