cities
Get list of Cities
Changed onGet list of City records. All parameters are optional
get/v3/cities/
Request
- Base URLhttps://api.aviapages.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.aviapages.com/v3/cities/
- AuthAPI key in header Authorization
Query parameters
orderingstring
Comma separated fields to use when ordering the results.
pageinteger
A page number within the paginated result set.
searchstring
Search by city name or country name or country ISO 3166-1 alpha-2 or country ISO 3166-1 alpha-3
search_countrystring
Search by country name or country ISO 3166-1 alpha-2 or country ISO 3166-1 alpha-3
search_namestring
Search by city name
Response
Example response
{
"count": 123,
"previous": "http://api.example.org/accounts/?page=2",
"per_page": 20
}Changes
- info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status
- info