-
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/photos
- PUT /api/photos/:id
- DELETE /api/photos/:id
- A logged in user may add, edit, or delete a comment they made on a photo.
- POST /api/comment/:photoId
- PUT /api/comment/:photoId
- DELETE /api/comment/:photoId
- A logged in user may add, edit, or delete a photo album.
- POST /api/albums
- PUT /api/albums/:id
- DELETE /api/albums/:id