Health check endpoint for Kubernetes

Endpoint that returns the service health status

get
https://api.kong-air.com/health

Response

application/json

Service is healthy.

statusstring

Example:OK

get/health
 
application/json

Destinations

Endpoints related to KongAir flight destinations

Request all KongAir destinations

Returns all the destinations KongAir is currently registered to fly.

get
https://api.kong-air.com/destinations

Response

200 application/json

Successful response with the registered destinations.

Represents a destination city & airport.

citystringrequired

City name for the destination.

Example:San Francisco

idstringrequired

Unique identifier for the airport.

Example:SFO

imagestringrequired

Image link for the destination.

Example:https://testimages.com/SFO

get/destinations
 
200 application/json

Request a specific KongAir destination by id (e.g., SFO)

Returns a specific destination for a given Airport ID / Code.

get
https://api.kong-air.com/destinations/{id}

Path Parameters

idstringrequired

Destination id is unique identifier for the destination airport.

Example:SIN

Response

application/json

Successful response with the found destination.

Destination

Represents a destination city & airport.

citystringrequired

City name for the destination.

Example:San Francisco

idstringrequired

Unique identifier for the airport.

Example:SFO

imagestringrequired

Image link for the destination.

Example:https://testimages.com/SFO

get/destinations/{id}
 
application/json

Destination

object

Represents a destination city & airport.

citystringrequired

City name for the destination.

Example:San Francisco

idstringrequired

Unique identifier for the airport.

Example:SFO

imagestringrequired

Image link for the destination.

Example:https://testimages.com/SFO

Example