Skip to main content

routes.proto

path vasystem/api/v2/routes.proto

package vasystem.api.v2


Messages

ListRoutesRequest

The ListRoutesRequest message defines the request parameters for the ListRoutes method.

NameTypeDescription
airline_idstringFilter by airline. Example: `01gevxx0g090m0a78xmvhtfre4`
departure_icaostringFilter by departure airport. Example: `KJFK`
arrival_icaostringFilter by arrival airport. Example: `YSSY`
icao_flight_numberstringFilter by the flight number. This does not include the airline code. Example: `1234`
include_archivedboolWhether to include archived routes. Defaults to false.
page_sizeuint64The maximum number of results to return. Defaults to 100. Maximum is 1000.
page_tokenstringThe next_page_token value returned from a previous List request, if any. If used, all other parameters must match the call that provided the token.

ListRoutesResponse

The ListRoutesResponse message defines the response parameters for the ListRoutes method.

NameTypeDescription
routesrepeated RouteThe list of routes.
next_page_tokenstringThe next_page_token value to include in a subsequent List request. When paginating, all other parameters provided to List must match the call that provided the page token. When this field is empty, there are no more results. However, if the field is non-empty, there may not be any more results on the next page.

Route

A Route represents a regularly scheduled flight between two airports.

NameTypeDescription
idstringThe unique identifier for the route.
airlineAirlineThe airline that operates this route.
icao_flight_numberstringThis does not include the airline code. Example: `1234`
departureAirportThe departure airport.
arrivalAirportThe arrival airport.
departure_timeTimeOfDayThe departure time is in UTC.
arrival_timeTimeOfDayThe arrival time is in UTC.
durationgoogle.protobuf.DurationThe duration of this flight. This field is purely provided for convenience and can also be calculated from the departure and arrival times.
days_flownrepeated DayOfWeekThe days of the week that this flight operates.
aircraft_modelsrepeated AircraftModelThe aircraft models that operate this route.
archivedboolWhether this route is archived. An archived route cannot be booked by pilots.

Services

RoutesService

Retrieve route information.

ListRoutes

MethodListRoutes
RequestListRoutesRequest
ResponseListRoutesResponse
DescriptionList routes. This is a paginated endpoint.