FlatAndFlatmates
Search…
⌃K

Messages

File Name : messages.js File Path : /server/routes/messages.js This route is used to handle user's chat (messages) related queries. For example: fetching favourite users and messages, fetching specific user messages, loading more messages etc
get
/api/messages/usersMessages
Fetch Users and Messages
get
/api/messages/?id=${_id}
Fetch Specific User Messages
get
/api/messages/loadMoreMessages
Load More Messages
Last modified 3yr ago