-
Notifications
You must be signed in to change notification settings - Fork 1
API Documentation
Arnold Cabang Jr edited this page Aug 23, 2021
·
1 revision
This web app uses the following API routes to dynamically update the page to create a single-page-app-like feel for the user for specific features.
A logged in user may post a like to a review as well as ‘unlike’ it.
- POST /reviews/:reviewId/likes
A logged in user can add-to, edit, or delete to/from their personal Shelves with visible confirmation without causing a refresh/redirect.
-
PUT /shelves/:shelvesId
-
DELETE /shelves/:shelvesId
A logged in user may post a review and update/delete one of their own reviews, removing it from the list of visible reviews without causing a refresh/redirect.
-
PUT /reviews/:reviewId
-
DELETE /reviews/:reviewId