查询用户信息
开发中
GET
https://api.flashcat.cloud/api/n9e/users
最后修改时间:2025-04-16 10:59:41
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/users?limit=20&p=页面&query=&order=username&desc&stime&etime&usernames&phones&emails'
响应示例响应示例
{
"dat": {
"admin": true,
"list": [
{
"id": 1,
"username": "root",
"nickname": "Root 账号",
"phone": "",
"email": "guyuexin@flashcat.cloud",
"portrait": "/image/avatar4.png",
"roles": [
"Admin"
],
"contacts": {},
"maintainer": 0,
"create_at": 1639980016,
"create_by": "system",
"update_at": 1717034726,
"update_by": "root",
"belong": "",
"admin": true,
"user_groups": [
{
"id": 1,
"name": "demo-root-group"
}
],
"busi_groups": [
{
"id": 1,
"name": "Default Busi Group"
}
],
"last_active_time": 1717034692
},
{
"id": 26,
"username": "wecom_robot",
"nickname": "企微机器人-勿删",
"phone": "",
"email": "",
"portrait": "",
"roles": [
"Guest"
],
"contacts": {
"wecom_robot_token": "7854e5aa-2091-4e92-a3b9-9d821051f66e"
},
"maintainer": 0,
"create_at": 1651216500,
"create_by": "root",
"update_at": 1651216523,
"update_by": "root",
"belong": "",
"admin": false,
"user_groups": [],
"busi_groups": [],
"last_active_time": 0
},
{
"id": 65,
"username": "zbq-robot",
"nickname": "",
"phone": "",
"email": "",
"portrait": "",
"roles": [
"Guest"
],
"contacts": {
"feishu_robot_token": "df638ffe-c597-441a-ac9a-62dab33e46f5",
"wecom_robot_token": "e0c023e8-6fce-4406-9c15-a77939dac75e"
},
"maintainer": 0,
"create_at": 1698636062,
"create_by": "root",
"update_at": 1706693484,
"update_by": "root",
"belong": "",
"admin": false,
"user_groups": [
{
"id": 29,
"name": "zbq-test"
}
],
"busi_groups": [
{
"id": 47,
"name": "阿里云-RDS-集群"
}
],
"last_active_time": 0
}
],
"total": 3
},
"err": ""
}
请求参数
Query 参数
limit
integer
可选
示例值:
20
p
integer
可选
示例值:
页面
query
string
可选
order
string
可选
示例值:
username
desc
string
倒序还是正序
stime
integer
可选
etime
integer
可选
usernames
string
可选
phones
string
可选
emails
string
多个邮箱,逗号分隔