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
| Ad | Yer | Tip | Açıklama |
|---|---|---|---|
lat zorunlu | sorgu | number | Latitude of the map view; snapped to its 0.25° cell-90 ≤ x ≤ 90 |
lon zorunlu | sorgu | number | Longitude of the map view; snapped to its 0.25° cell-180 ≤ x ≤ 180 |
date | sorgu | string (date) | null | Local 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
| Durum | Açıklama | İçerik |
|---|---|---|
200 | Hours 05-21 of the local day; Cache-Control header | application/json → SlopeConditions |
401 | code: auth_missing, auth_invalid, auth_revoked | application/json → ErrorBody |
403 | code: auth_scope | application/json → ErrorBody |
422 | code: request_invalid, date_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 |