Update doc

This commit is contained in:
2022-09-19 07:34:47 +00:00
committed by GitHub
parent 1bc1582ced
commit c356540463
5 changed files with 38 additions and 3 deletions

View File

@@ -3,3 +3,8 @@
* 路径: `/api/auth/status``/auth/status``/api/auth``/auth`
* 方法: `GET``POST`
* 鉴权: 无需
## 新增用户
* 路径: `/api/auth/user/add``/auth/user/add`
* 方法: `GET``POST`
* RESTful: `PUT /api/auth/user``PUT /auth/user`
* 鉴权: 一般需要(如服务器状态内的`has_root_user``false`则无需鉴权)