Rota önerisi · API referansı
Bir kalkıştan yerel gün ve saat için birkaç sıralanmamış rota seçeneği, iniş alternatifleriyle; yalnız uçuş öncesi planlama, her zaman sabit uçuş öncesi uyarısıyla gösterilir.
GET /v1/routes
Route suggestions from a take-off for a day and hour (pre-flight planning only)
A few options in compass order, not ranked; each waypoint with landing alternatives, each option with reasons. Only where a region moderator marked the suggestions reasonable. The pilot decides; airspace and legal limits are checked separately (docs/10 §20).
Kimlik: X-Api-Key başlığı; gereken kapsam: kapsam tablosu.
Parametreler
| Ad | Yer | Tip | Açıklama |
|---|---|---|---|
takeoff_id zorunlu | sorgu | string (uuid) | Public take-off id (GET /v1/sites) |
date | sorgu | string (date) | null | Local date (Europe/Istanbul), today to today + 4 days; default today örnek "2026-11-06" |
hour | sorgu | integer | null | Local hour 8-19 (Europe/Istanbul); default the next whole hour örnek 12 |
Yanıtlar
| Durum | Açıklama | İçerik |
|---|---|---|
200 | Options; Cache-Control header | application/json → RoutesResponse |
401 | code: auth_missing, auth_invalid, auth_revoked | application/json → ErrorBody |
403 | code: auth_scope | application/json → ErrorBody |
404 | code: site_not_found, routes_not_available | application/json → ErrorBody |
422 | code: request_invalid, date_out_of_range, hour_out_of_range | application/json → ErrorBody |
429 | code: rate_limited, quota_exceeded (Retry-After seconds)Başlıklar: Retry-After — Seconds until the exhausted window resets | application/json → ErrorBody |