-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Somorovd edited this page Jun 26, 2023
·
9 revisions
- GET /api/session -- get current user
- POST /api/session -- login
- DELETE /api/session -- logout
- POST /api/users -- signup
- PUT /api/users/:userid -- edit profile
-
GET /api/servers -- get all servers (public servers)
-
GET /api/server/current -- get current user's servers
-
POST /api/servers -- create server
-
PUT /api/servers/:serverid -- edit server
-
DELETE /api/servers/:serverid -- delete server
- GET /api/servers/:serverid/channel -- get channel list
- POST /api/servers/:serverid/channel -- create new channel in server
- GET /api/channel/:channelid/messages -- get channel messages
- POST /api/channel/:channelid/messages -- create new message
- PUT /api/messages/:messageid -- edit message
- DELETE /api/messages/:messageid -- delete message