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

Create a Review for a Spot based on the Spot's Id #13

Open
6 tasks
wckliment opened this issue Apr 13, 2024 · 0 comments
Open
6 tasks

Create a Review for a Spot based on the Spot's Id #13

wckliment opened this issue Apr 13, 2024 · 0 comments

Comments

@wckliment
Copy link
Owner

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

  • An authenticated user is required for a successful response
  • New review exists in the database after request
  • Review data returned includes the id, userId, spotId, review,
    stars, createdAt, and updatedAt
  • Error response with status 400 is given when body validations for the
    review or stars are violated
  • Error response with status 404 is given when a spot does not exist with
    the provided id
  • Error response with status 403 is given when a review already exists for
    the spot from the current user
@wckliment wckliment converted this from a draft issue Apr 13, 2024
@wckliment wckliment moved this from Backlog to In progress in AirBnBClone Apr 25, 2024
@wckliment wckliment moved this from In progress to In review in AirBnBClone Apr 26, 2024
@wckliment wckliment moved this from In review to Next Tasks in AirBnBClone Apr 27, 2024
@wckliment wckliment moved this from Next Tasks to In progress in AirBnBClone Apr 27, 2024
@wckliment wckliment moved this from In progress to In review in AirBnBClone Apr 27, 2024
@wckliment wckliment moved this from In review to In progress in AirBnBClone Apr 30, 2024
@wckliment wckliment moved this from In progress to Accepted in AirBnBClone May 1, 2024
@wckliment wckliment moved this from Accepted to In progress in AirBnBClone May 1, 2024
@wckliment wckliment moved this from In progress to In review in AirBnBClone May 2, 2024
@wckliment wckliment moved this from In review to Accepted in AirBnBClone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Accepted
Development

No branches or pull requests

1 participant