This commit is contained in:
Mateusz Gruszczyński committed 2026-10-07 13:40:21 +02:00
1 parent 3a2eb4fe79
commit e0194fbaff
63 files changed
+1553 -379

No files matched your search

+113 -3
View File
@@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "RustProxy Administration API",
"version": "0.27.0",
"version": "0.27.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": [
@@ -3170,6 +3170,101 @@
"type": "boolean",
"default": false,
"description": "Account-scoped sort direction for the Backends diagnostics table."
},
"vhost_list_sort": {
"type": "string",
"enum": [
"id",
"hostname",
"status",
"listeners",
"certificate",
"backends"
],
"default": "id",
"description": "Account-scoped sort key for the Vhosts list."
},
"vhost_list_descending": {
"type": "boolean",
"default": false,
"description": "Account-scoped sort direction for the Vhosts list."
},
"docker_vhost_sort": {
"type": "string",
"enum": [
"service",
"hostname",
"status",
"backend",
"scheme",
"published"
],
"default": "service",
"description": "Account-scoped sort key for Docker vhost service rows."
},
"docker_vhost_descending": {
"type": "boolean",
"default": false,
"description": "Account-scoped sort direction for Docker vhost service rows."
},
"redirect_list_sort": {
"type": "string",
"enum": [
"id",
"name",
"hostname",
"status",
"target",
"rules",
"listeners",
"certificate"
],
"default": "id",
"description": "Account-scoped sort key for the Redirect hosts list."
},
"redirect_list_descending": {
"type": "boolean",
"default": false,
"description": "Account-scoped sort direction for the Redirect hosts list."
},
"notfound_list_sort": {
"type": "string",
"enum": [
"id",
"name",
"hostname",
"status",
"mode",
"listeners",
"certificate"
],
"default": "id",
"description": "Account-scoped sort key for the 404 hosts list."
},
"notfound_list_descending": {
"type": "boolean",
"default": false,
"description": "Account-scoped sort direction for the 404 hosts list."
},
"stream_list_sort": {
"type": "string",
"enum": [
"name",
"id",
"protocol",
"listen",
"upstream",
"status",
"maxConnections",
"idleTimeout"
],
"default": "name",
"description": "Account-scoped sort key for the Streams list."
},
"stream_list_descending": {
"type": "boolean",
"default": false,
"description": "Account-scoped sort direction for the Streams list."
}
},
"required": [
@@ -4372,13 +4467,28 @@
"database_path": {
"type": "string",
"nullable": true
},
"certificate_runtime": {
"type": "object",
"description": "Python/pip/Certbot capability used by managed certificate automation.",
"properties": {
"status": { "type": "string", "enum": ["checking", "initializing", "ready", "unavailable"] },
"mode": { "type": "string", "enum": ["none", "managed", "system"] },
"message": { "type": "string" },
"managed_directory": { "type": "string", "nullable": true },
"python": { "type": "boolean" },
"pip": { "type": "boolean" },
"certbot": { "type": "boolean" }
},
"required": ["status", "mode", "message", "managed_directory", "python", "pip", "certbot"]
}
},
"required": [
"platform",
"statistics_source",
"data_directory",
"database_path"
"database_path",
"certificate_runtime"
]
},
"CertificateApiCredential": {
@@ -5528,7 +5638,7 @@
}
}
},
"description": "Sets an HttpOnly SameSite=Strict session cookie. Browser sessions use the configured 7\u201330 day absolute lifetime. Use the panel sign-in page. No bearer token or URL token is accepted.",
"description": "Sets an HttpOnly SameSite=Strict session cookie. Browser sessions use the configured 7–30 day absolute lifetime. Use the panel sign-in page. No bearer token or URL token is accepted.",
"security": [],
"parameters": [
{