Chat
It is used to retrieve information about a chat room and chat messages.
Endpoints
Type | URI | Description |
---|---|---|
GET | ./chat/members | Can be used to retrieve the list of chat room members. |
GET | ./chat/messages | Can be used to return message lists. |
GET | ./chat/message | Return all message information for Socket.io (public) |
GET | ./chat/room | Return all details of a specific room. |
PUT | ./chat/room | Switch ON/OFF the room moderation status. |
POST | ./chat/message | It is used to add new message. |
DELETE | ./chat/message | It is used to delete a message. |
POST | ./chat/repost | It is used to report a message from a chat room. |