Routes Service

Request all the KongAir routes

Returns all the routes KongAir is currently registered to fly.
A Route is a pairing between origin and destination airport codes.

get
https://shared-services.kong-sales-engineering.com/kongair/routes

Query Parameters

originarray[string]

filter by origin

Response

200 application/json

Successful response with the registered Routes

idstringrequired
originstringrequired
destinationstringrequired
avg_durationintegerrequired
get/routes
 
curl --request GET \
  --url https://shared-services.kong-sales-engineering.com/kongair/routes \
  --header 'Accept: application/json' \
  --header 'Authorization: Basic Og==' \
  --header 'Content-Type: application/json'
200 application/json
[
  {
    "id": "LHR-SFO",
    "origin": "LHR",
    "destination": "SFO",
    "avg_duration": 660
  }
]