获取成员列表¶
GET /api/v1/workspace/members/list
概述¶
列出当前工作空间中的所有成员
Query 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
search | string | 根据名称/邮箱搜索 例子: supper_workspace 允许为空: False |
|
pageIndex | integer | 页码 允许为空: False 例子: 10 $minValue: 1 |
|
pageSize | integer | 每页返回数量 允许为空: False 例子: 10 $minValue: 1 $maxValue: 100 |
参数补充说明¶
请求例子¶
curl 'https://openapi.guance.com/api/v1/workspace/members/list?pageIndex=1&pageSize=2' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
响应¶
{
"code": 200,
"content": [
{
"createAt": 1614149795,
"creator": "extend",
"deleteAt": -1,
"email": "88@qq.com",
"extend": {
"user_icon": "acnt_xxxx32.png"
},
"exterId": "acnt-gtxSK4UrogwM3N2guGNGim",
"id": 19,
"mobile": "",
"name": "测试",
"nameSpace": "",
"role": "owner",
"status": 0,
"updateAt": 1614149795,
"updator": "external",
"userIconUrl": "http://static.cloudcare.cn:10561/icon/acnt_xxxx32.png",
"userType": "common",
"username": "88@qq.com",
"uuid": "acnt_xxxx32",
"waitAudit": 0
}
],
"errorCode": "",
"message": "",
"pageInfo": {
"count": 1,
"pageIndex": 1,
"pageSize": 3,
"totalCount": 1
},
"success": true,
"traceId": "TRACE-DA203788-B799-4BE2-9AB4-552047E01EED"
}