Retrieves the list of online channels.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ListRTCLiveRooms |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. You can view your application IDs by navigating to ApsaraVideo Live > Live+ > ApsaraVideo Real-time Communication > Application Management. |
a494caec-***-695ef345db77 |
| PageSize |
integer |
No |
The page size. Valid values: 10 to 100. Default value: 50. |
50 |
| PageNo |
integer |
No |
The current page number, starting from 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
5c6a2a0df228-4a64-af62-20e91b96**** |
| Total |
integer |
The total number of query results. |
2 |
| Rooms |
array |
The list of active channels. |
|
|
string |
The channel ID. |
room1 |
Examples
Success response
JSON format
{
"RequestId": "5c6a2a0df228-4a64-af62-20e91b96****",
"Total": 2,
"Rooms": [
"room1"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InputInvalid | %s. | Illegal input parameters |
| 403 | NoAuth | %s. | No permission |
| 404 | ResourceNotExist | %s. | The requested resource does not exist, please check and try again |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.