Merge branch 'main' into 95-send-spots-to-xota

# Conflicts:
#	webassets/apidocs/openapi.yml
This commit is contained in:
Ian Renton
2026-06-21 11:12:48 +01:00
11 changed files with 52 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ from tornado import httputil
from tornado.web import Application
from core.config import MAX_SPOT_AGE, ALLOW_SPOTTING
from core.constants import BANDS, ALL_MODES, MODE_TYPES, SIGS, CONTINENTS
from core.constants import BANDS, ALL_MODES, MODE_TYPES, SIGS, CONTINENTS, PROPAGATION_MODES
from core.prometheus_metrics_handler import api_requests_counter
from core.utils import serialize_everything
@@ -61,6 +61,7 @@ class APIOptionsHandler(tornado.web.RequestHandler):
"spot_sources": spot_sources,
"alert_sources": alert_sources,
"continents": CONTINENTS,
"propagation_modes": PROPAGATION_MODES.values(),
"max_spot_age": MAX_SPOT_AGE,
"spot_allowed": ALLOW_SPOTTING,
"spot_submit_providers": spot_submit_providers}