认证接口负责浏览器会话和当前用户信息。Documentation Index
Fetch the complete documentation index at: https://docs.nekohub.fengying.xin/llms.txt
Use this file to discover all available pages before exploring further.
login 与 refresh 是公开接口,logout 和 me 只接受 JWT。
Login
Request body
用户名。
密码。
Response
Refresh
Request body
有效的 refresh token。
Response
返回与 Login 相同的data 结构,但 token 会轮换。
Logout
Headers
Request body
要注销的 refresh token。
Response
成功时返回204 No Content。
Current user
Headers
Response
返回当前登录用户的data 对象,字段与 login.data.user 一致。
System bootstrap
Response
字段说明
当前部署是否启用了 API key。
后端当前允许的最大上传体积。
当前允许上传的内容类型。
这个端点不会告诉你 SuperAdmin 是否已经创建。它只是运行时配置摘要。