Rooms

Rooms are virtual places where users cann connect to share messages among them.

Allowed actions

Rooms can be:

  • READED: By anyone who is logged in.
  • CREATED: By ADMINS and TEACHERS.
  • UPDATED: By ADMINS and TEACHERS.
  • DELETED: By ADMINS and TEACHERS.
Updating rooms

At this moment rooms cannot be updated this is still under development.

Deleting rooms

Rooms are NOT literally DELETED from database. This is because a log of room events is saved. If a room is deleted then the logs should also be deleted.

Room information

Rooms has the following fields.

  • ID: Id given automatically by the application.
  • Code: This code is generated automatically by aplication generating an uuidv4 code and using last 5 characters.
  • Name: This should be given by the user who is creating the room.
  • UserID: ID of user which created room.