This commit is contained in:
Mateusz Gruszczyński committed 2026-11-16 09:59:26 +01:00
1 parent 9e81cce271
commit 185d5da6f9
31 files changed
+296 -199

No files matched your search

+6 -1
View File
@@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "RustProxy Administration API",
"version": "0.38.3",
"version": "0.38.4",
"description": "Administration API for the active panel origin. Sign in through the panel; the same-origin HttpOnly cookie authenticates all private operations. Mutations also require the exact Origin, X-RustProxy-Request: 1 and a session-bound X-CSRF-Token. Loopback HTTP is the default; Settings can enable HTTPS before using a non-loopback administration bind. This document contains no live configuration or credentials. Object schemas marked extensible are summaries: full configuration validation is authoritative in Rust. The API also permits explicitly scoped GeneralApiBearer tokens on a narrow route allowlist, with RO/RW and source CIDR checks; API-token management and Prometheus-token management are browser-session-only."
},
"servers": [
@@ -4174,6 +4174,11 @@
"default": true,
"description": "Account-scoped administration UI preference. When enabled, primary panel dialogs stay anchored near the top of the viewport instead of being vertically re-centered when their content height changes."
},
"switch_controls": {
"type": "boolean",
"default": true,
"description": "Since 0.38.4. Account-scoped administration UI preference. When enabled, settings that turn a feature or section on or off are drawn as switches; when disabled they are drawn as ordinary checkboxes. Presentation only; does not change the stored configuration."
},
"button_style": {
"type": "string",
"enum": [