This commit is contained in:
Mateusz Gruszczyński committed 2026-11-24 16:03:36 +01:00
1 parent 8d15429560
commit dd9ecc48f1
21 files changed
+828 -141

No files matched your search

+21 -1
View File
@@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "RustProxy Administration API",
"version": "0.38.8",
"version": "0.41.3",
"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": [
@@ -7060,6 +7060,26 @@
"compressed": {
"type": "boolean",
"description": "True for a rotated gzip source member."
},
"rotation": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"description": "0 for current file; positive number for a rotation."
},
"scope": {
"type": "string",
"enum": ["vhost", "redirect", "host404", "unmatched", "access", "error"]
},
"site": {
"type": "string",
"description": "Configured site ID, or empty for shared sources."
},
"domains": {
"type": "array",
"items": { "type": "string" },
"description": "Current configured hostnames and aliases for this site, including Docker publications. Empty for shared, unmatched or no longer configured sites. Identical for all rotations."
}
},
"additionalProperties": false