İçeriğe geç
Updraft Docs
English

Katman parametreleri · API referansı

Yamaç katmanları için saatlik güneş konumu ve tahmini rüzgâr (yalnız uçuş öncesi).

GET /v1/slope-conditions

Sun position and forecast wind per hour for the slope layers (pre-flight only)

Kimlik: X-Api-Key başlığı; gereken kapsam: kapsam tablosu.

Parametreler

AdYerTipAçıklama
lat zorunlusorgunumberLatitude of the map view; snapped to its 0.25° cell
-90 ≤ x ≤ 90
lon zorunlusorgunumberLongitude of the map view; snapped to its 0.25° cell
-180 ≤ x ≤ 180
datesorgustring (date) | nullLocal date (Europe/Istanbul), default today; the forecast covers today to today + 4 days, other dates give the sun only
örnek "2026-11-06"

Yanıtlar

DurumAçıklamaİçerik
200Hours 05-21 of the local day; Cache-Control headerapplication/json → SlopeConditions
401code: auth_missing, auth_invalid, auth_revokedapplication/json → ErrorBody
403code: auth_scopeapplication/json → ErrorBody
422code: request_invalid, date_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