Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Image to a Review based on the Review's id #15

Open
6 tasks done
ChristoGrab opened this issue Sep 23, 2022 · 1 comment
Open
6 tasks done

Add an Image to a Review based on the Review's id #15

ChristoGrab opened this issue Sep 23, 2022 · 1 comment

Comments

@ChristoGrab
Copy link
Owner

ChristoGrab commented Sep 23, 2022

Create and return a new image for a review specified by id.

  • An authenticated user is required for a successful response
  • Only the owner of the review is authorized to add an image
  • New image exists in the database after request
  • Image data returned includes the id and url
  • Error response with status 404 is given when a review does not exist with
    the provided id
  • Error response with status 403 is given when the maximum number of images
    have been added for the review
@ChristoGrab ChristoGrab moved this from Backlog to Next Tasks in AirBnB API Sep 28, 2022
@ChristoGrab ChristoGrab moved this from Next Tasks to In Progress in AirBnB API Sep 28, 2022
@ChristoGrab
Copy link
Owner Author

All responses other than max number of images working properly

@ChristoGrab ChristoGrab moved this from In Progress to Working Locally in AirBnB API Sep 28, 2022
@ChristoGrab ChristoGrab moved this from Working Locally to Deployed and Done in AirBnB API Sep 29, 2022
@ChristoGrab ChristoGrab moved this from Deployed and Done to Working Locally in AirBnB API Sep 29, 2022
@ChristoGrab ChristoGrab moved this from Working Locally to Deployed in AirBnB API Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Deployed
Development

No branches or pull requests

1 participant