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 details for a Spot from an id #11

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

Get details for a Spot from an id #11

ChristoGrab opened this issue Sep 23, 2022 · 0 comments

Comments

@ChristoGrab
Copy link
Owner

ChristoGrab commented Sep 23, 2022

Returns the details of a spot specified by its id.

  • Successful response includes data only for the specified spot
  • Spot data returned includes the id, ownerId, address, city,
    state, country, lat, lng, name, description, price, createdAt,
    and updatedAt
  • Spot data returns aggregate data for numReviews and avgStarRating
  • Spot data returns associated data for SpotImages, an array of image
    data including the id, url, and preview
  • Spot data returns associated data for Owner, including the id,
    firstName, and lastName
  • Error response with status 404 is given when a spot does not exist with
    the provided id
@ChristoGrab ChristoGrab moved this from Backlog to In Progress in AirBnB API Sep 27, 2022
@ChristoGrab ChristoGrab moved this from In Progress to Next Tasks in AirBnB API Sep 27, 2022
@ChristoGrab ChristoGrab moved this from Next Tasks to Working Locally in AirBnB API Sep 27, 2022
@ChristoGrab ChristoGrab moved this from Working Locally to In Progress in AirBnB API Sep 27, 2022
@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 28, 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