Skip to content

Backend Routes

greathmaster edited this page Mar 2, 2020 · 2 revisions

HTML

GET /StaticPagesController#root

Users

  • GET api/users/ Get all users `
  • POST api/users/ Sign Up UsersController#create
  • PATCH api/users/:id Edit User UsersController#update
  • DELETE api/users/:id Delete User UsersContorller#destroy

Session

  • POST api/session - Logon/Signin SessionsController#create
  • DELETE api/session - Logout SessionsController#destroy

Channels

  • GET api/channels/ All channels (in workspace?) ChannelsController#index
  • GET api/channels/:id Specific channel ChannelsController#show
  • POST api/channels/ Create channel ChannelsController#create
  • PATCH api/channels/ Edit channel ChannelsController#update
  • DELETE api/channels/ Delete a channel ChannelsController#destroy

Clone this wiki locally