-
Notifications
You must be signed in to change notification settings - Fork 2
API Documentation
Tran Le edited this page Apr 4, 2021
·
6 revisions
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 create a rating of a game without causing a refresh/redirect.
POST /api/games/:id/reviews/
- A logged in user may clear a rating of a game without causing a refresh/redirect.
DELETE /api/reviews/:id
- A logged in user may choose a play status without causing a refresh/redirect.
POST /api/games/
- A logged in user may update their play status without causing a refresh/redirect.
PUT /api/games/:id/
- A logged in user may delete their play status without causing a refresh/redirect.
DELETE /api/games/:id/
- A logged in user may load a currently existing game shelf without causing a refresh/redirect.
PUT /api/game-shelves/:id
- A logged in user may create a new game shelf or without causing a refresh/redirect.
POST /api/game-shelves/