GET "api/users"- returns all users listGET "api/users/id"- returns user by idGET "api/users/id/chats"- returns all users with whom the user with the given id has conversedPOST "api/users"- create new userPUT "api/users/id"- update user by idDELETE "api/users/id"- delete user by id
GET "api/messages"- returns all messages listGET "api/messages/id"- returns message by idPOST "api/messages"- create new messagePUT "api/messages/id"- update messageDELETE "api/messages/id"- delete message