All Products
Search
Document Center

Edge Security Acceleration:ListWaitingRoomEvents

Last Updated:Mar 28, 2026

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

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

esa:ListWaitingRoomEvents

list

*Site

acs:esa:{#regionId}:{#accountId}:site/{#SiteId}

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

  • off

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:

  • on

  • off

off

QueuingMethod

string

The queuing method. Valid values:

  • random: Users gain access to the origin randomly, regardless of the arrival time.

  • fifo: Users gain access to the origin in order of arrival.

  • passthrough: Users pass through the waiting room and go straight to the origin.

  • reject-all: Users are blocked from reaching the origin.

fifo

QueuingStatusCode

string

The HTTP status code to return while a user is in the queue. Valid values:

  • 200

  • 202

  • 429

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:

  • on

  • off

off

Description

string

The event description.

terraform-example

WaitingRoomType

string

The type of the waiting room. Valid values:

  • default

  • custom

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

  • off

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

  • off

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:

  • enus: English.

  • zhcn: Simplified Chinese.

  • zhhk: Traditional Chinese.

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.