Skip to content

Backend Routes

Derek W edited this page Jul 31, 2019 · 2 revisions

Backend Routes


staticPages

  • GET /static_pages#root

users

  • GET /api/users/:id/edit
  • GET /api/users/:id
  • PATCH /api/users/:id
  • DELETE /api/users/:id

session

  • POST /api/session
  • DELETE /api/session

tracks

  • POST /api/tracks
  • GET /api/tracks/:id/edit
  • GET /api/tracks/:id
  • PATCH /api/tracks/:id
  • DELETE /api/tracks/:id

tags

  • POST /api/tags
  • GET /api/tags/:id/edit
  • GET /api/tags/:id
  • PATCH /api/tags/:id
  • DELETE /api/tags/:id

comments

  • POST /api/tracks/:track_id/comments
  • DELETE /api/tracks/:track_id/comments

favorites

  • POST /api/tracks/:track_id/comments
  • DELETE /api/tracks/:track_id/comments

followers

  • POST /api/users/:user_id/follows
  • DELETE /api/users/:user_id/follows
Clone this wiki locally