Queries the information about the protection policy of a domain name.
Operation description
You can call this operation up to 20 times per second per account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DomainName | string | Yes | The accelerated domain name. You can specify only one domain name in each request. Exact match is supported. | example.com |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "153ca2cd-3c01-44be-82C0-64dbc6c88630",
"Domain": {
"DomainName": "example.com",
"DefenseScenes": [
{
"DefenseScene": "waf_group",
"PolicyId": 10000002,
"PolicyIds": "10000001,10000004"
}
]
}
}
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.