issues
search
yoshelb
/
mod-4-portfolio-project
0
stars
0
forks
source link
### Add an Image to a Review based on the Review's id
#16
Open
yoshelb
opened
3 months ago
yoshelb
commented
3 months ago
Create and return a new image for a review specified by id.
[x] An authenticated user is required for a successful response
[x] Only the owner of the review is authorized to add an image
[x] New image exists in the database after request
[x] Image data returned includes the
id
and
url
[x] Error response with status 404 is given when a review does not exist with the provided
id
[x] Error response with status 403 is given when the maximum number of images have been added for the review
Create and return a new image for a review specified by id.
id
andurl
id