All Products
Search
Document Center

Edge Security Acceleration:DescribeDcdnWafGeoInfo

Last Updated:Oct 17, 2024

Queries the countries and regions that can be added to the blacklist of Web Application Firewall (WAF).

Operation description

Note You can call this operation up to 20 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LanguagestringYes

The language of the information to return. Valid values:

  • cn: Chinese
  • en: English
cn

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

66A98669-CC6E-4F3E-80A6-3014697B11AE
Contentarray<object>

The type of information about the country or region.

GeoInfoobject
Typestring

The type of the region.

  • CN: China
  • Other: outside China
CN
Continentsarray<object>

The information about the country or region.

Continentsobject
Namestring

The district to which the country or region belongs.

China
Regionsarray<object>

The region information.

Regionsobject
Namestring

The name of the country or region.

Beijing
Valuestring

The code of the country or region.

110000

Examples

Sample success responses

JSONformat

{
  "RequestId": "66A98669-CC6E-4F3E-80A6-3014697B11AE",
  "Content": [
    {
      "Type": "CN",
      "Continents": [
        {
          "Name": "China\n",
          "Regions": [
            {
              "Name": "Beijing\n",
              "Value": "110000"
            }
          ]
        }
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.