mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 07:24:55 +08:00
17 lines
977 B
Markdown
17 lines
977 B
Markdown
# bat-api Admin Panel
|
|
|
|
This directory is reserved for the future player-facing `bat-api` management
|
|
panel. The current backend exposes a non-mutating index at `GET /admin/` that
|
|
returns JSON links for health, readiness, bootstrap, release, resources, and
|
|
OpenAPI. `GET /admin/schedules` and mutating
|
|
`/admin/control/schedule-{add,update,remove,run}` routes are protected by the
|
|
configured admin token and forward the Rust-owned schedule contract.
|
|
`GET /admin/schedules` accepts optional `id`, `group`, and `enabled` filters.
|
|
`POST /admin/control/translation-task-update` uses the same token and forwards
|
|
the narrow `translation.task.update` provider-worker status contract.
|
|
|
|
The production panel must reuse the same HTTP authentication, rate limiting,
|
|
access logging, reverse-proxy handling, and no-store dynamic response policy as
|
|
the resource API. Static frontend assets are not implemented yet. See
|
|
`docs/reports/GO_STATUS.md` for the current component boundary and status.
|