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

Get all Reviews by a Spot's id #16

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

Get all Reviews by a Spot's id #16

wckliment opened this issue Apr 13, 2024 · 0 comments

Comments

@wckliment
Copy link
Owner

Returns all the reviews that belong to a spot specified by id.

  • Seed data exists in the database for reviews to be returned.
  • Successful response includes only reviews for the specified spot
  • Review data returned includes the id, userId, spotId, review,
    stars, createdAt, and updatedAt
  • Review data returns associated data for User, including the id,
    firstName, and lastName
  • Review data returns associated data for ReviewImages, an array of image
    data including the id and url
  • Error response with status 404 is given when a spot does not exist with
    the provided id
@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 25, 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 Apr 30, 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