sfomuseum.millsfield.buildings.getGates

Description

Return the list of passenger gates located in a building on the SFO campus. 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.
  • building_id (int64) — A valid SFO Museum (sfomuseum-data-architecture) building ID (required)
  • 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 gates for building

Notes

Example request or take this API method for a spin

curl -X GET 'https://api.sfomuseum.org/rest/?method=sfomuseum.millsfield.buildings.getGates&access_token=<TOKEN>&building_id=<BUILDING_ID>'