This commit is contained in:
Mateusz Gruszczyński committed 2026-10-10 11:35:04 +02:00
1 parent f3dd34dae4
commit f213d853e2
28 files changed
+5368 -4692

No files matched your search

+52 -5
View File
@@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "RustProxy Administration API",
"version": "0.30.0",
"version": "0.30.1",
"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."
},
"servers": [
@@ -549,7 +549,19 @@
"description": "Off by default. For these origin response HTTP statuses, replace the application response with a RustProxy error page (no-store). Does not change RustProxy-generated routing/security errors.",
"items": {
"type": "integer",
"enum": [400, 401, 403, 404, 408, 413, 429, 500, 502, 503, 504]
"enum": [
400,
401,
403,
404,
408,
413,
429,
500,
502,
503,
504
]
}
}
},
@@ -4737,7 +4749,7 @@
},
"certificate_runtime": {
"type": "object",
"description": "Python/pip/Certbot capability used by managed certificate automation.",
"description": "ACME Python/pip/Certbot capability and versions read from local runtime/package metadata without executing diagnostic commands. Missing metadata returns null.",
"properties": {
"status": {
"type": "string",
@@ -4771,6 +4783,21 @@
},
"certbot": {
"type": "boolean"
},
"python_version": {
"type": "string",
"nullable": true,
"description": "Version declared by the selected runtime (pyvenv.cfg for Python, dist-info/METADATA for pip and Certbot); null if missing or ambiguous."
},
"pip_version": {
"type": "string",
"nullable": true,
"description": "Version declared by the selected runtime (pyvenv.cfg for Python, dist-info/METADATA for pip and Certbot); null if missing or ambiguous."
},
"certbot_version": {
"type": "string",
"nullable": true,
"description": "Version declared by the selected runtime (pyvenv.cfg for Python, dist-info/METADATA for pip and Certbot); null if missing or ambiguous."
}
},
"required": [
@@ -4780,8 +4807,25 @@
"managed_directory",
"python",
"pip",
"certbot"
"certbot",
"python_version",
"pip_version",
"certbot_version"
]
},
"architecture": {
"type": "string",
"description": "Architecture of the RustProxy executable."
},
"operating_system": {
"type": "string",
"nullable": true,
"description": "Host OS release name from the cross-platform sysinfo library, when supported."
},
"kernel_version": {
"type": "string",
"nullable": true,
"description": "Host kernel version from the cross-platform sysinfo library, when available."
}
},
"required": [
@@ -4789,7 +4833,10 @@
"statistics_source",
"data_directory",
"database_path",
"certificate_runtime"
"certificate_runtime",
"architecture",
"operating_system",
"kernel_version"
]
},
"CertificateApiCredential": {