DescribeChannelParticipants

Updated at:

Queries the list of online users in a channel without detailed information.

Operation description

Usage notes

This operation queries the list of online users in a channel, excluding detailed user information.

QPS limit

The QPS limit for a single user is 1,000 calls per minute. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls appropriately. For more information, see QPS limits.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

Yes

The application ID. You can create and query the ID in the console. Only a single ID is supported.

aec****

ChannelId

string

Yes

The ID of the joined channel. Only a single ID is supported.

testId

Order

string

No

The sort order. Valid values:

  • asc: Ascending order.

  • desc: Descending order. This is the default value.

asc

PageNum

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of users to return on each page. Default value: 10.

10

Response elements

Element

Type

Description

Example

object

TotalPage

integer

The total number of pages returned.

1

RequestId

string

The request ID.

6159ba01-6687-4fb2-a831-f0cd8d188648

Timestamp

integer

The time when the result is returned. The value is a UNIX timestamp in seconds.

1557909133

TotalNum

integer

The total number of results returned.

3

UserList

object

User

array

The list of user IDs in the channel.

string

The user IDs. Multiple IDs are separated by commas (,).

27f9****,bb87****,df82****

Examples

Success response

JSON format

{
  "TotalPage": 1,
  "RequestId": "6159ba01-6687-4fb2-a831-f0cd8d188648",
  "Timestamp": 1557909133,
  "TotalNum": 3,
  "UserList": {
    "User": [
      "27f9****,bb87****,df82****"
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 Channel.InternalError Channel operate internal error
500 Service.InternalError service internal error
404 Channel.NotExist Channel not existed
404 Service.NoSignaling service no signaling

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.