İçeriğe geç
Updraft Docs
English

Bölgeler · API referansı

Uçuş bölgeleri ve bölge profilleri.

GET /v1/regions

Public flying regions with simplified boundaries

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

Yanıtlar

DurumAçıklamaİçerik
200GeoJSON FeatureCollection ordered by slug; ETag and Cache-Control headersapplication/geo+json → RegionCollection
304If-None-Match matched the current ETag; no body
401code: auth_missing, auth_invalid, auth_revokedapplication/geo+json → ErrorBody
403code: auth_scopeapplication/geo+json → ErrorBody
422Validation Errorapplication/json → HTTPValidationError
429code: rate_limited, quota_exceeded (Retry-After seconds)
Başlıklar: Retry-After — Seconds until the exhausted window resets
application/json → ErrorBody

GET /v1/regions/{region}/profile

Profile of a public flying region

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

Parametreler

AdYerTipAçıklama
region zorunluyolstringRegion id (uuid, lowercase) or slug (regions.slug), e.g. fethiye-oludeniz
0–64 chars · ^[a-z0-9]+(-[a-z0-9]+)*$

Yanıtlar

DurumAçıklamaİçerik
200Region profile; ETag and Cache-Control headersapplication/json → RegionProfileResponse
304If-None-Match matched the current ETag; no body
401code: auth_missing, auth_invalid, auth_revokedapplication/json → ErrorBody
403code: auth_scopeapplication/json → ErrorBody
404code: region_not_foundapplication/json → ErrorBody
422code: request_invalidapplication/json → ErrorBody
429code: rate_limited, quota_exceeded (Retry-After seconds)
Başlıklar: Retry-After — Seconds until the exhausted window resets
application/json → ErrorBody

GET /v1/regions/{region}/incidents

Known incidents and precautions of a public flying region

Entered by the region's moderators. Not in-flight information: use it for planning and briefing. No person, no day, no ranking.

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

Parametreler

AdYerTipAçıklama
region zorunluyolstringRegion id (uuid, lowercase) or slug (regions.slug)
0–64 chars · ^[a-z0-9]+(-[a-z0-9]+)*$

Yanıtlar

DurumAçıklamaİçerik
200Incidents; ETag and Cache-Control headersapplication/json → RegionIncidentsResponse
304If-None-Match matched the current ETag; no body
401code: auth_missing, auth_invalid, auth_revokedapplication/json → ErrorBody
403code: auth_scopeapplication/json → ErrorBody
404code: region_not_foundapplication/json → ErrorBody
422code: request_invalidapplication/json → ErrorBody
429code: rate_limited, quota_exceeded (Retry-After seconds)
Başlıklar: Retry-After — Seconds until the exhausted window resets
application/json → ErrorBody