Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion api/simplyrets-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ paths:
- "$ref": "#/components/parameters/postalCodes"
- "$ref": "#/components/parameters/features"
- "$ref": "#/components/parameters/exteriorFeatures"
- "$ref": "#/components/parameters/pool"
- "$ref": "#/components/parameters/water"
- "$ref": "#/components/parameters/neighborhoods"
- "$ref": "#/components/parameters/cities"
Expand Down Expand Up @@ -988,6 +989,7 @@ paths:
- "$ref": "#/components/parameters/postalCodes"
- "$ref": "#/components/parameters/features"
- "$ref": "#/components/parameters/exteriorFeatures"
- "$ref": "#/components/parameters/pool"
- "$ref": "#/components/parameters/water"
- "$ref": "#/components/parameters/neighborhoods"
- "$ref": "#/components/parameters/cities"
Expand Down Expand Up @@ -1578,6 +1580,27 @@ components:
type: array
items:
type: string
pool:
required: false
in: query
name: pool
description: >
Filter listings on pool features (`.property.pool`). There
are multiple ways to use this parameter:

- `pool=true`: Return listings where `.property.pool` is NOT
`false` or `null`.
- `pool=false`: Return listings where `.property.pool` IS
`false` or `null`.
- `pool=QUERY`: Return listings with a matching
`.property.pool` value. Example: `?pool=Private`.

If this parameter is used multiple times in a single query,
return listings that match any of the provided values.
schema:
type: array
items:
type: string
water:
required: false
in: query
Expand Down Expand Up @@ -1993,7 +2016,7 @@ components:
foundation:
type: string
nullable: true
poolFeatures:
pool:
type: string
nullable: true
laundryFeatures:
Expand Down