fix(version): move the finer geo state to the admin status

geoLookup and geoProviderChosen on the public /api/version added one
more way to tell instances apart. They now live on /api/admin/status
(requireAdmin, cookie only) as geo { lookup, providerChosen,
providerHost }, which both admin status views read. offlineGeoEnabled
and geoProviderHost stay public as before.
This commit is contained in:
Marc-André Bombeck committed 2026-10-09 10:44:18 +02:00
1 parent 0ea8d929d2
commit 470ddeedc4
11 files changed
+135 -128

No files matched your search

-14
View File
@@ -36065,18 +36065,6 @@ components:
type: string
description: Host of the online geolocation provider the fallback would use, so an operator surface names the real one
instead of assuming the default.
geoLookup:
type: string
enum:
- offline
- online
- off
description: "How login IPs are placed (since v1.42): `offline` from the GeoLite2 databases, `online` by the provider
above, `off` not at all (`IP_GEO_LOOKUP_DISABLED`)."
geoProviderChosen:
type: boolean
description: The operator named the online provider in `IP_GEO_LOOKUP_URL` (since v1.42). False while the default is in
use.
required:
- version
- buildSha
@@ -36087,8 +36075,6 @@ components:
- docs
- offlineGeoEnabled
- geoProviderHost
- geoLookup
- geoProviderChosen
additionalProperties: false
description: The running build's identity plus the offline-geolocation state. Public — no authentication, no account data.
AssistantFlagsEnvelope: