Domain name for API request: lcic.tencentcloudapi.com.
This API is used to get the user list of a room. This API will not work if a room has ended or expired.
A maximum of 20 requests can be initiated per second for this API.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeCurrentMemberList. |
Version | Yes | String | Common Params. The value used for this API: 2022-08-17. |
Region | No | String | Common Params. This parameter is not required. |
RoomId | Yes | Integer | The room ID. |
Page | Yes | Integer | The page to return records from. Pagination starts from 1. |
Limit | Yes | Integer | The maximum number of records per page. The value of this parameter cannot exceed 1000. |
Parameter Name | Type | Description |
---|---|---|
Total | Integer | The total number of records. |
MemberRecords | Array of MemberRecord | The user list. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to get the user list of a room. This API will not work if a room has ended or expired.
POST / HTTP/1.1
Host: lcic.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCurrentMemberList
<Common request parameters>
{
"RoomId": 123,
"Page": 1,
"Limit": 10
}
{
"Response": {
"Total": 1,
"RequestId": "xx",
"MemberRecords": [
{
"UserName": "xx",
"Mic": 1,
"UserId": "xx",
"Rewords": 1,
"AnswerQuestions": 1,
"HandUps": 1,
"Camera": 1,
"FirstJoinTimestamp": 1,
"LastQuitTimestamp": 1,
"PresentTime": 1,
"Silence": 1
}
]
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
FailedOperation.ClassEnded | Room status error. The room has ended. |
FailedOperation.ClassExpired | Room status error. The room has expired. |
InternalError | Internal error. |
ResourceNotFound.Room | The room does not exist. |
本页内容是否解决了您的问题?