-
Notifications
You must be signed in to change notification settings - Fork 2
Backend Routes
Catherine Vidos edited this page Sep 20, 2020
·
7 revisions
GET / StaticPagesController#root
API Endpoints
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
POST /api/session - log in
DELETE /api/session - log out
GET /api/boards - returns all boards
POST /api/board - creates a board
PATCH /api/boards/:id - edit a board
DELETE /api/boards/:id - remove a board
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/board:id - remove a pin