-
Notifications
You must be signed in to change notification settings - Fork 0
API Documentation
Tran Le edited this page Apr 25, 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 add, edit, or delete a photo.
POST /api/photosPUT /api/photos/:idDELETE /api/photos/:id
- A logged in user may add, edit, or delete a comment they made on a photo.
POST /api/comment/:photoIdPUT /api/comment/:photoIdDELETE /api/comment/:photoId
- A logged in user may add, edit, or delete a photo album.
POST /api/albumsPUT /api/albums/:idDELETE /api/albums/:id