-
Notifications
You must be signed in to change notification settings - Fork 0
Routes
Jahan Khan edited this page May 9, 2018
·
4 revisions
/login
/signup
/channels
/channel/:channelId/messages
/users/:userId
users
-
GET /api/users/:userId
- get user information -
POST /api/users
- create user
session
-
GET /api/session/:sessionId
- get session information -
POST /api/session
- create session -
DELETE /api/session/:sessionId
- delete session
channels
-
GET /api/channels/:channelId
- get specific channel information -
GET /api/channels
- get all channels -
POST /api/channels
- create channel
messages
-
GET /api/channels/:channelId/messages
- get all messages for specific channel -
POST /api/messages
- create message