Allow providers to be off-by-default in the web UI. Closes #93

This commit is contained in:
Ian Renton
2026-01-11 15:03:17 +00:00
parent d1a5bfe9c3
commit cfff8dd832
10 changed files with 63 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
openapi: 3.0.4
openapi: 3.1.0
info:
title: Spothole API
description: |-
@@ -557,6 +557,12 @@ paths:
type: integer
example: 30
description: The suggested default "maximum spot age" that the web UI should retrieve from the API
spot-providers-enabled-by-default:
type: array
description: A list of the spot providers that should be enabled in the web UI on first load, if the user hasn't already got a localStorage setting that sets their preference. This is to allow some high-volume providers like RBN to be enabled in Spothole's back-end and displayable in the web UI if the user wants, but by default the experience will not include them.
items:
type: string
example: "POTA"
alert-count:
type: array
description: An array of suggested "alert counts" that the web UI can retrieve from the API