-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
jdarmoni edited this page Mar 25, 2019
·
1 revision
-
GET /StaticPagesController#root
-
GET /api/users/id- returns the user information and their shelves -
POST /api/users- sign up
-
POST /api/session- log in -
DELETE /api/session- log out
-
GET /api/book/:id- returns specific book
-
GET /api/bookshelves- current user's bookshelf index (i.e. My Books) -
GET /api/bookshelves/:id- returns specific bookshelf -
POST /api/bookshelves- creates a bookshelf -
PATCH /api/bookshelves/:id- edit a bookshelf -
DELETE /api/bookshelves/:id- remove a bookshelf
-
POST /api/books/:book_id/review- post a review to a specific book -
PATCH /api/books/:book_id/review- edit a review -
DELETE /api/books/:book_id/review- delete a review