Skip to content

Airport Info API endpoint#143

Merged
dev-banane merged 3 commits intocephie-studios:canaryfrom
1ceit:main
Mar 21, 2026
Merged

Airport Info API endpoint#143
dev-banane merged 3 commits intocephie-studios:canaryfrom
1ceit:main

Conversation

@1ceit
Copy link
Copy Markdown
Collaborator

@1ceit 1ceit commented Mar 21, 2026

- Add GET /api/data/airports/:icao/status

Returns the most recent active PFATC session for a given airport, including controller information, flight count, active runway, and current METAR data.
Must be a PFATC session, have a active controller, and have at least one flight to be returned.

@1ceit
Copy link
Copy Markdown
Collaborator Author

1ceit commented Mar 21, 2026

Might need to add auth... depends what you want Jakob

@dev-banane
Copy link
Copy Markdown
Member

You can implement an API Key check for the endpoint like in the old PFControl.
But it isn't really a problem if it's public

@dev-banane dev-banane merged commit 191735f into cephie-studios:canary Mar 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants