From bf0b52d1d8dfcf3a83c90cf25642e24e093e62ee Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sun, 19 Oct 2025 11:10:20 +0100 Subject: [PATCH] Band colours were in the wrong place in API docs --- webassets/apidocs/openapi.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webassets/apidocs/openapi.yml b/webassets/apidocs/openapi.yml index 5d916d4..cf74237 100644 --- a/webassets/apidocs/openapi.yml +++ b/webassets/apidocs/openapi.yml @@ -728,6 +728,14 @@ components: type: string descripton: Icon, from the Font Awesome set. This is fairly opinionated but is here to help the Spothole web UI and Field Spotter. Does not include the "fa-" prefix. example: tree + band_color: + type: string + descripton: Colour to represent this spot, if a client chooses to colour spots based on their frequency band, using PSK Reporter's default colours. HTML colour e.g. hex. + example: #ff0000" + band_contrast_color: + type: string + descripton: Black or white, whichever best contrasts with "band_color". + example: "white" qrt: type: boolean description: QRT state. Some APIs return spots marked as QRT. Otherwise we can check the comments. @@ -874,14 +882,6 @@ components: type: string descripton: Icon, from the Font Awesome set. This is fairly opinionated but is here to help the Spothole web UI and Field Spotter. Does not include the "fa-" prefix. example: tree - band_color: - type: string - descripton: Colour to represent this spot, if a client chooses to colour spots based on their frequency band, using PSK Reporter's default colours. HTML colour e.g. hex. - example: #ff0000" - band_contrast_color: - type: string - descripton: Black or white, whichever best contrasts with "band_color". - example: "white" source: type: string description: Where we got the alert from.