Queries waiting room events for a waiting room.
Operation description
Use this operation to query details of all waiting room events related to a waiting room in a website.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:ListWaitingRoomEvents |
list |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The website ID, which can be obtained by calling the ListSites operation. |
7096621098**** |
| WaitingRoomId |
string |
Yes |
The unique ID of the waiting room, which can be obtained by calling the ListWaitingRooms operation. |
6a51d5bc6460887abd129**** |
| WaitingRoomEventId |
integer |
No |
The ID of the waiting room event. This parameter is optional. You can specify this parameter to query a specific waiting room event. |
89677721098**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is used to trace a call. |
f3c3700a-4c0f-4a24-b576-fd7dbf9e7c55 |
| WaitingRoomEvents |
array<object> |
The details of the waiting room events. |
|
|
object |
The details of the waiting room event. |
||
| WaitingRoomEventId |
integer |
The unique ID of the waiting room event. |
89677721098**** |
| WaitingRoomId |
string |
The ID of the waiting room associated with the event. |
5c938a045c9ca46607163d34966**** |
| Enable |
string |
The event status. Valid values:
|
on |
| Name |
string |
The custom event name. |
测试事件 |
| TotalActiveUsers |
string |
The maximum number of active users. |
22 |
| NewUsersPerMinute |
string |
The maximum number of new users per minute. |
11 |
| SessionDuration |
string |
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes. |
3 |
| DisableSessionRenewalEnable |
string |
Indicates whether session renewal is disabled. Valid values:
|
off |
| QueuingMethod |
string |
The queuing method. Valid values:
|
fifo |
| QueuingStatusCode |
string |
The HTTP status code to return while a user is in the queue. Valid values:
|
200 |
| JsonResponseEnable |
string |
Indicates whether JOSN response is enabled. If JSON response is enabled, a JSON body is returned for requests to the waiting room with the header Accept: application/json. Valid values:
|
off |
| Description |
string |
The event description. |
terraform-example |
| WaitingRoomType |
string |
The type of the waiting room. Valid values:
|
custom |
| CustomPageHtml |
string |
The content of the custom waiting room page. This parameter is returned when the waiting room type is set to custom. The content is URL-encoded. |
html-yets-maqi1111 |
| StartTime |
string |
The start time of the event. This value is a UNIX timestamp. |
1719814398 |
| EndTime |
string |
The end time of the event. This value is a UNIX timestamp. |
1719814497 |
| PreQueueEnable |
string |
Indicates whether pre-queuing is enabled. Valid values:
|
on |
| PreQueueStartTime |
string |
The start time for pre-queuing. This value is a UNIX timestamp. This parameter is valid only when pre-queuing is enabled. |
1719814097 |
| RandomPreQueueEnable |
string |
Indicates whether random queuing is enabled. Valid values:
|
on |
| Language |
string |
The language of the waiting room page. This parameter is returned when the waiting room type is set to default. Valid values:
|
zhcn |
Examples
Success response
JSON format
{
"RequestId": "f3c3700a-4c0f-4a24-b576-fd7dbf9e7c55",
"WaitingRoomEvents": [
{
"WaitingRoomEventId": 0,
"WaitingRoomId": "5c938a045c9ca46607163d34966****",
"Enable": "on",
"Name": "测试事件",
"TotalActiveUsers": "22",
"NewUsersPerMinute": "11",
"SessionDuration": "3",
"DisableSessionRenewalEnable": "off",
"QueuingMethod": "fifo",
"QueuingStatusCode": "200",
"JsonResponseEnable": "off",
"Description": "terraform-example",
"WaitingRoomType": "custom",
"CustomPageHtml": "html-yets-maqi1111",
"StartTime": "1719814398",
"EndTime": "1719814497",
"PreQueueEnable": "on",
"PreQueueStartTime": "1719814097",
"RandomPreQueueEnable": "on",
"Language": "zhcn"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 403 | Site.NotExist | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.