Request
Response
Status Codes
200: Airports returned successfully401: API key is required403: Flights module is not enabled
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List all configured airports with terminals and gates
curl -X GET "https://api.series.hr/flights/airports" \
-H "apikey: YOUR_API_KEY"
{
"success": true,
"data": {
"MainAirportId": "apt_1",
"Airports": [
{
"Id": "apt_1",
"Name": "Robloxia International Airport",
"IataCode": "RBLX",
"IcaoCode": "KRBX",
"City": "Robloxia",
"Country": "United States",
"Terminals": [
{ "Id": "term_1", "Name": "Terminal 1", "Description": "Domestic" },
{ "Id": "term_2", "Name": "Terminal 2", "Description": "International" }
],
"Gates": [
{ "Id": "gate_1", "Name": "Gate A1", "TerminalId": "term_1", "Terminal": "Terminal 1", "Enabled": true },
{ "Id": "gate_2", "Name": "Gate A2", "TerminalId": "term_1", "Terminal": "Terminal 1", "Enabled": true },
{ "Id": "gate_3", "Name": "Gate B1", "TerminalId": "term_2", "Terminal": "Terminal 2", "Enabled": true }
]
}
]
}
}
200: Airports returned successfully401: API key is required403: Flights module is not enabled