DescribeAnalysisRegions

1. Interface Description

This interface (DescribeAnalysisRegions) is used to query the list of regions supported by data statistics.

2. Output Parameters Results

Parameter NameTypeDescription

regionSet

Set of region information.

requestId

String

Unique request ID, which is returned for each request. Provide this requestId when troubleshooting issues.

3. Code Example

  1. Query the list of regions supported by data statistics.

POST / HTTP/1.1
Host: console.zenlayer.com/api/v2/cdn
Content-Type: application/json
X-TC-Action: DescribeAnalysisRegions
<Common Request Params>

Request:
{
}

Response:
{
  "requestId": "T6883FCD0-3E7D-44EA-A517-A421A52A27F4",
  "response": {
    "requestId": "T6883FCD0-3E7D-44EA-A517-A421A52A27F4",
    "regionSet": [
    {
      "continent": "antarctica",
      "countries": [
          "frenchsouthernterritories",
          "australia",
          "bouvetisland",
          "southgeorgiaandthesouthsandwichislands",
          "antarctica-other"
      ]
    },
    {
      "continent": "asia",
      "countries": [
          "china",
          "yemen",
          "iraq",
          "saudiarabia",
          "iran"
      ]
    }]
  }
}

4. Error Codes

The following includes error codes encountered in business logic. For other error codes, see Common Error Codes.

Last updated