KongAir APIs
Get a specific booking by ticket number
Returns a specific booking given its ticket number.
get
https://api.kongair.dev/bookings/{ticketNumber}
Path Parameters
ticketNumberstringrequired
The ticket number
Response
application/json
Response
application/json
Successful response with the requested booking
Booking
ticket_numberstringrequired
flightobjectrequired
Show Child Parameters
seatstring
get/bookings/{ticketNumber}
Authentication
Path Parameters
application/json
Update an existing booking
Updates an existing booking completely.
put
https://api.kongair.dev/bookings/{ticketNumber}
Path Parameters
ticketNumberstringrequired
The ticket number to update
Body
application/json
Body
application/json
Updated booking details
Booking
ticket_numberstringrequired
flightobjectrequired
Show Child Parameters
seatstring
Response
application/json
Response
application/json
Booking updated successfully
Booking
ticket_numberstringrequired
flightobjectrequired
Show Child Parameters
seatstring
put/bookings/{ticketNumber}
Authentication
Path Parameters
Body
{
"ticket_number": "ticket_number",
"flight": {}
}
application/json
Partially update an existing booking
Partially updates an existing booking.
patch
https://api.kongair.dev/bookings/{ticketNumber}
Path Parameters
ticketNumberstringrequired
The ticket number to update
Body
application/json
Body
application/json
Partial booking details to update
Booking
ticket_numberstringrequired
flightobjectrequired
Show Child Parameters
seatstring
Response
application/json
Response
application/json
Booking updated successfully
Booking
ticket_numberstringrequired
flightobjectrequired
Show Child Parameters
seatstring
patch/bookings/{ticketNumber}
Authentication
Path Parameters
Body
{
"ticket_number": "ticket_number",
"flight": {}
}
application/json
Delete a booking
Deletes a booking from the system.
delete
https://api.kongair.dev/bookings/{ticketNumber}
Path Parameters
ticketNumberstringrequired
The ticket number to delete
Response
Response
Booking deleted successfully
delete/bookings/{ticketNumber}
Authentication
Path Parameters
Health check endpoint for Kubernetes
Endpoint that returns the service health status.
get
https://api.kongair.dev/routes/health
Response
application/json
Response
application/json
Service is healthy
statusstring
Example:OK
get/routes/health
Authentication
application/json