docs: 对齐全部文档状态
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-08-03 12:19:06 +08:00
parent a2e2ae8ac5
commit 3b103be8a9
15 changed files with 100 additions and 45 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
# bat-api Admin Panel
This directory is reserved for the future player-facing `bat-api` management
panel. The current backend exposes a protected placeholder at `GET /admin/`
that returns JSON links for health, readiness, bootstrap, release, resources,
and OpenAPI.
panel. The current backend exposes a non-mutating index at `GET /admin/` that
returns JSON links for health, readiness, bootstrap, release, resources, and
OpenAPI. Mutating `/admin/control/{action}` routes are protected by the
configured admin token and forward only the documented Rust `bat` allowlist.
The production panel must reuse the same HTTP authentication, rate limiting,
access logging, reverse-proxy handling, and no-store dynamic response policy as