DescribeUsers
GET
https://rtc-api.zego.im/
调用本接口,可以查询某一房间内的用户的基本状态,包括用户是否在房间、用户的角色、登录房间的时间等。
调用频率限制
同一个 AppID 下所有房间:10 次/秒
Request
Query Parameters
Action string必填
可选值: [DescribeUsers
]
接口原型参数
https://rtc-api.zego.im?Action=DescribeUsers
AppId uint32必填
💡公共参数。AppId,ZEGO 分配的用户唯一凭证。
SignatureNonce string必填
💡公共参数。随机字符串。
Timestamp int64必填
💡公共参数。Unix 时间戳,单位为秒。最多允许 10 分钟的误差。
Signature string必填
💡公共参数。签名,用于验证请求的合法性。请参考签名机制生成。
SignatureVersion string必填
可选值: [2.0
]
默认值: 2.0
💡公共参数。签名版本号。
RoomId string必填
房间 ID。
UserId string[]必填
可选值: >= 1
, <= 10
需要查询状态的用户 ID 列表,最大支持 10 个用户 ID。
Responses
- 200
操作成功
- application/json
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
RESPONSE清除