Skip to content

用户账户 OpenAPI

接口说明

用户列表

1
GET /v1/users

说明

获取本应用的用户账户列表。

参数

位置 名称 类型 说明
Query nextCursor string 滚动游标
Query limit integer 结果集最大记录数

响应

HTTP 状态码 类型 说明
200 AccountListResult 用户账户信息
400 ErrorResult 请求参数不合法
500 ErrorResult 系统错误

示例

请求 path
1
GET /v1/users?limit=2
响应

HTTP 200 OK

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
  "nextCursor": "Q6HUUYT2AOU4QVX6SCKKWIA77PAOG4ERLUVC3ZPX2IG45OMH752Q",
  "users": [
    {
      "userId": 307243629773,
      "orgUserId": "111111"
    },
    {
      "userId": 307243629777,
      "orgUserId": "558876347"
    }
  ]
}

数据类型说明

AccountListResult

名称 类型 说明
nextCursor string 用于获取下一页数据的滚动游标
users * [Account] 用户账户信息

Account

名称 类型 说明
userId * long UBI User ID
orgUserId * string 用户在接入方的用户体系中的唯一标识