-
Notifications
You must be signed in to change notification settings - Fork 5
Backend Routes
aguamenti edited this page Aug 18, 2018
·
7 revisions
- GET / StaticPagesController#root
-
GET /api/users
- returns the user information -
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- log out
-
GET /api/channels/:id
- returns specified channel and associated messages -
GET /api/channels
- returns index of all channels and direct messages -
POST /api/channels
- returns form to create new channel
-
POST /api/channels/:channel_id/messages
- creates and sends message to a chat -
PATCH /api/channels/:channel_id/messages/:id
- updates message -
DELETE /api/channels/:channel_id/messages/:id
- deletes message