Skip to content

Backend Routes

Catherine Vidos edited this page Sep 16, 2020 · 7 revisions

HTML

GET / StaticPagesController#root API Endpoints

users

GET /api/users/:id - returns the user information of displayed boards/user profile info POST /api/users - sign up PATCH /api/users/:id - edit user page

session

POST /api/session - log in DELETE /api/session - log out

boards

GET /api/boards/:id - returns board POST /api/board - creates a board PATCH /api/boards/:id - edit a board DELETE /api/boards/:id - remove a board

pins

GET /api/pins - returns relevant pins (filtered by data/params) GET /api/pins/:id - returns pin POST /api/pin - creates a pin PATCH /api/pins/:id - edit a pin DELETE /api/pins/:id - remove a pin

Clone this wiki locally