İçeriğe geç
Updraft Docs
English

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

AdYerTipAçıklama
takeoff_id zorunlusorgustring (uuid)Public take-off id (GET /v1/sites)
datesorgustring (date) | nullLocal date (Europe/Istanbul), today to today + 4 days; default today
örnek "2026-11-06"
hoursorguinteger | nullLocal hour 8-19 (Europe/Istanbul); default the next whole hour
örnek 12

Yanıtlar

DurumAçıklamaİçerik
200Options; Cache-Control headerapplication/json → RoutesResponse
401code: auth_missing, auth_invalid, auth_revokedapplication/json → ErrorBody
403code: auth_scopeapplication/json → ErrorBody
404code: site_not_found, routes_not_availableapplication/json → ErrorBody
422code: request_invalid, date_out_of_range, hour_out_of_rangeapplication/json → ErrorBody
429code: rate_limited, quota_exceeded (Retry-After seconds)
Başlıklar: Retry-After — Seconds until the exhausted window resets
application/json → ErrorBody