ZWeb.API.Flights.AirportsController (Portico/Z v0.1.0)

API endpoint to search for airports by name/IATA code.

Link to this section Summary

Functions

GET /api/cache/flights/airports?search=boston

Link to this section Functions

Link to this function

index(conn, map)

GET /api/cache/flights/airports?search=boston

Essentially a JSON api wrapper for Z.Flights.search_airports/1.