Airports
Changed onList all airports or one specific airport. All airports response is very large. It is possible to request the response in a specific language.
Request
- Base URLhttps://api.lufthansa.com/v1
- AuthOAuth 2Authorization codehttps://api.lufthansa.com/v1/oauth/tokenToken URLhttps://api.lufthansa.com/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
3-letter IATA airport code
Query parameters
2-letter ISO 3166-1 language code
Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)
Number of records skipped. Defaults to 0
Restrict the results to locations with flights operated by LH (false=0, true=1)
Headers
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml")
Response
OK
Changes
- info
api operation id
Airportsremoved and replaced withReferencesAirportsByAirportCodeGet
- info
- breaking
the
pathrequest parameterairportCodebecame required - info
api operation id
Get_Airports_removed and replaced withAirports
- breaking