sfomuseum.collection.airports.getObjects
Description
Return the list of objects associated with a airport in the SFO Museum Aviation Collection. Try this method in the API Explorer.
HTTP Request method
GET
Arguments
- access_token (
string) — A valid OAuth2 access token (required) - format (
string) — The format in which to return the data. Supported formats are json, jsonp. The default format is json. - airport_id (
int64) — A valid SFO Museum Aviation Collection airport ID OR a valid IATA or ICAO airport code (required) - with_images (
boolean) — Only include objects with images - page (
int) — The default is 1. - per_page (
int) — The default is 100 and the maximum is 500.
Errors
In addition to default error codes common to all methods this API method defines the following additional error codes:
900— Failed to retrieve airports list
Notes
- This API method uses plain pagination. Please consult the pagination documentation for details.
Example request — or take this API method for a spin
curl -X GET 'https://api.sfomuseum.org/rest/?method=sfomuseum.collection.airports.getObjects&access_token=<TOKEN>&airport_id=<AIRPORT_ID>&with_images=<WITH_IMAGES>'