Flights API

Flights API

1.1OAS 3.0

KongAir Flights service provides the scheduled flights for KongAir

API Base URL
  • Server 1:https://api.kongair.dev

    KongAir API Dev

Health check endpoint for Kubernetes

Endpoint that returns the service health status.

get
https://api.kongair.dev/health

Response

application/json

Service is healthy

statusstring

Example:OK

get/health
 
application/json

Get KongAir planned flights

Returns all the scheduled flights for a given day

get
https://api.kongair.dev/flights

Query Parameters

datestring(date)

Filter by date (defaults to current day)

Response

200 application/json

Successful respone with scheduled flights

numberstringrequired
route_idstringrequired
scheduled_departurestring(date-time)required
scheduled_arrivalstring(date-time)required
get/flights
 
200 application/json