Queries the accelerated domain names that are protected by a specified Web Application Firewall (WAF) protection policy.
Operation description
You can call this operation up to 20 times per second per user.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PolicyId | long | Yes | The ID of the protection policy. You can specify only one ID in each request. | 100001 |
PageNumber | integer | No | The number of the page to return. Valid values: 1 to 100000. Default value: 1. | 1 |
PageSize | integer | No | The number of domain names to return on each page. Valid values: an integer from 1 to 500. Default value: 20. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"PageSize": 20,
"RequestId": "153ca2cd-3c01-44be-b480-64dbc6c88630",
"PageNumber": 1,
"TotalCount": 2,
"Domains": [
{
"DomainName": "example.com"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
For a list of error codes, visit the Service error codes.