mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-14 16:37:33 +00:00
Add types and altitudes to SIG Ref lookups
This commit is contained in:
@@ -26,6 +26,7 @@ info:
|
||||
* GET `/options` now returns `spot_submit_providers`, a map of SIG names to the names of providers that support upstream spot submission for that SIG. (This allows clients to present the user with options of where a new spot can be sent to.)
|
||||
* Added `sig_ref_data_providers`, `static_data_providers` and `callsign_data_providers` to `/status` response
|
||||
* Added `callsign_data_providers` and `spot_providers_enabled_by_default` to `/options` response
|
||||
* SIG Refs now have `type` and `altitude` parameters
|
||||
|
||||
#### Upgrading a client from v1 to v2 API endpoints
|
||||
|
||||
@@ -996,6 +997,10 @@ components:
|
||||
type: string
|
||||
description: SIG reference name
|
||||
example: Null Country Park
|
||||
type:
|
||||
type: string
|
||||
description: SIG reference type
|
||||
example: Park
|
||||
url:
|
||||
type: string
|
||||
description: SIG reference URL, which the user can look up for more information
|
||||
@@ -1012,6 +1017,10 @@ components:
|
||||
type: number
|
||||
description: Longitude of the reference, in degrees, if known.
|
||||
example: -1.2345
|
||||
altitude:
|
||||
type: number
|
||||
description: Altitude of the reference, in metres, if known.
|
||||
example: 1234.5
|
||||
activation_score:
|
||||
type: integer
|
||||
description: Activation score. SOTA only
|
||||
|
||||
Reference in New Issue
Block a user