跳转到主要内容
GET
/
version
获取当前运行的 ShiroSU 版本
curl --request GET \
  --url http://{host}:{port}/api/v1/superuser/version \
  --header 'Authorization: Bearer <token>'
"<string>"

授权

Authorization
string
header
必填

后端管理密码

同时支持 Authorization: Bearer <password>Authorization: <password>

查询参数

ws
string

一次性 WebSocket 票证,仅用于 WebSocket 升级

响应

当前运行版本号

The response is of type string.

最后修改于 2026年6月11日