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 #17

Open
6 tasks
ChristoGrab opened this issue Sep 23, 2022 · 0 comments
Open
6 tasks

Get all Reviews by a Spot's id #17

ChristoGrab opened this issue Sep 23, 2022 · 0 comments

Comments

@ChristoGrab
Copy link
Owner

ChristoGrab commented Sep 23, 2022

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
@ChristoGrab ChristoGrab moved this from Backlog to Next Tasks in AirBnB API Sep 28, 2022
@ChristoGrab ChristoGrab moved this from Next Tasks 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
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