Type Definitions
Object
# filterSettings
Filter parameters that are sent to the backend to filter listings
Properties:
Name | Type | Description |
---|---|---|
priceMin |
string | |
priceMax |
number | |
location |
string | |
roomType |
string | |
availability |
number | |
minNights |
number | |
listingsPerHost |
number | Total number of listings that were put online by this host |
Object
# host
Information about the host of a listing
Properties:
Name | Type | Description |
---|---|---|
name |
string | |
id |
number | |
numOfListings |
number | Total number of listings that were put online by this host |
Object
# ListingData
Contains listingDetails, reviews and recommendations for the listing in question.
Properties:
Name | Type | Description |
---|---|---|
listingResponseData |
listingDetails | Listing details |
reviewResponseData |
array | Corresponding reviews |
recommendationResponseData |
array | Recommendations |
Object
# listingDetails
Information about a listing
Properties:
Name | Type | Description |
---|---|---|
area |
string | |
availability |
number | Days per year the listing is available |
host |
host | |
id |
number | |
images |
array | |
latitude |
number | |
longitude |
number | |
minNights |
number | Minimum stay required |
name |
string | |
neighbourhood |
string | To which of the 5 larger neighbourhood areas in NY it belongs to |
numOfReviews |
number | |
price |
number | |
roomType |
string |
Object
# metaListingsData
Global metadata about the listings stored in the backend that are needed for setting the default filter values
Properties:
Name | Type | Description |
---|---|---|
areas |
array | |
minPrice |
number | |
maxPrice |
number | |
minListingsPerHost |
number | |
maxListingsPerHost |
number | |
neighbourhoods |
array | |
numOfListings |
number | |
roomTypes |
array |