- Config
- Auth
- Users
- Mail
- Cashflow
- WebSocket
- Datasrc
- Report
- Home
获取用户列表
GET
/api/users/list
Users
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://s.hancel.org/api/users/list'
返回响应
🟢200成功
application/json
Body
data
array [object {7}]
必需
id
string
必需
createdAt
integer
必需
updatedAt
integer
必需
username
string
必需
nickname
string
必需
password
string
必需
email
string
必需
code
integer
必需
message
string
必需
示例
{
"data": [
{
"id": "49c5ad43-b498-4bc4-8eb5-533e95fd99a0",
"createdAt": 1722244312418,
"updatedAt": 1722244312419,
"username": "admin",
"nickname": "超级管理员",
"password": "******",
"email": "imlinhanchao@foxmail.com"
}
],
"code": 0,
"message": "ok"
}
修改于 2024-08-02 15:12:32