DescribeAnalysisRegions
1. Interface Description
This interface (DescribeAnalysisRegions) is used to query the list of regions supported by data statistics.
2. Output Parameters Results
Parameter Name | Type | Description |
---|---|---|
regionSet | Array of AnalysisRegion | Set of region information. |
requestId | String | Unique request ID, which is returned for each request. Provide this requestId when troubleshooting issues. |
3. Code Example
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": "TECDB2BC5-XXXX-XXXX-XXXX-492DC9E7848E",
"response": {
"regionSet": [
{
"continent": "africa",
"countries": [
"rwanda",
"somalia",
"libya",
"angola",
"tanzania",
"kenya",
"congo",
"djibouti",
"uganda",
"centralafricanrepublic",
"seychelles",
"chad",
"ethiopia",
"eritrea",
"egypt",
"sudan",
"southsudan",
"burundi",
"namibia",
"zimbabwe",
"zambia",
"comoros",
"mayotte",
"malawi",
"lesotho",
"botswana",
"mauritius",
"swaziland",
"reunion",
"southafrica",
"mozambique",
"madagascar",
"cameroon",
"senegal",
"congoking",
"congo",
"liberia",
"ivorycoast",
"ghana",
"equatorialguinea",
"nigeria",
"burkinafaso",
"togo",
"guineabissau",
"mauritania",
"benin",
"gabon",
"sierraleone",
"saotomeandprincipe",
"sainthelena",
"gambia",
"guinea",
"papuanewguinea",
"guineabissau",
"equatorialguinea",
"niger",
"mali",
"somalia",
"westernsahara",
"tunisia",
"algeria",
"morocco",
"capeverde",
"africa-other"
]
},
{
"continent": "antarctica",
"countries": [
"frenchsouthernterritories",
"australia",
"bouvetisland",
"southgeorgiaandthesouthsandwichislands",
"antarctica-other"
]
},
{
"continent": "asia",
"countries": [
"china",
"yemen",
"iraq",
"saudiarabia",
"iran",
"azerbaijan",
"turkmenistan",
"syria",
"israel",
"armenia",
"jordan",
"lebanon",
"palestine",
"kuwait",
"oman",
"qatar",
"bahrain",
"unitedarabemirates",
"turkey",
"uzbekistan",
"kazakhstan",
"georgia",
"pakistan",
"thailand",
"afghanistan",
"bangladesh",
"indonesia",
"tajikistan",
"malaysia",
"srilanka",
"bhutan",
"india",
"maldives",
"britishindianoceanterritory",
"nepal",
"burma",
"mongolia",
"kyrgyzstan",
"cocosislands",
"vietnam",
"laos",
"taiwan",
"philippines",
"hongkong",
"brunei",
"macau",
"kampuchea",
"southkorea",
"japan",
"korea",
"singapore",
"cn2",
"asia-other",
"asia-vodafone",
"asia-softbank",
"asia-ntt",
"asia-kddi"
]
},
{
"continent": "europe",
"countries": [
"cyprus",
"greece",
"albania",
"re",
"estonia",
"latvia",
"ukraine",
"lithuania",
"sweden",
"svalbardandjanmayen",
"belarus",
"moldova",
"finland",
"romania",
"poland",
"hungary",
"macedonia",
"slovakia",
"bulgaria",
"norway",
"kosovo",
"bosnaihercegovina",
"serbia",
"montenegro",
"portugal",
"gibraltar",
"spain",
"italy",
"malta",
"austria",
"denmark",
"thefaroeislands",
"iceland",
"unitedkingdom",
"isleofman",
"ireland",
"switzerland",
"netherlands",
"belgium",
"germany",
"luxemburg",
"france",
"monaco",
"andorra",
"liechtenstein",
"jersey",
"isleofman",
"guernsey",
"czechrepublic",
"vatican",
"sanmarino",
"croatia",
"bosniaandherzegovina",
"slovenia",
"europe-other",
"europe-wireless",
"europe-firstmedia",
"europe-vodafone"
]
},
{
"continent": "northamerica",
"countries": [
"barbados",
"greenland",
"saintpierreandmiquelon",
"mexico",
"jamaica",
"dominicanrepublic",
"curacao",
"bonairesinteustatiusandsaba",
"sintmaarten",
"cuba",
"martinique",
"bahamas",
"bermuda",
"anguilla",
"trinidadandtobago",
"saintkittsandnevis",
"dominica",
"antiguaandbarbuda",
"saintlucia",
"turksandcaicosislands",
"aruba",
"britishvirginislands",
"saintvincentandgrenadines",
"montserrat",
"guadeloupe",
"saintmartin",
"sintmaarten",
"saintbarthelemy",
"grenada",
"caymanislands",
"belize",
"elsalvador",
"guatemala",
"honduras",
"nicaragua",
"costarica",
"panama",
"haiti",
"unitedstates",
"puertorico",
"unitedstatesvirginislands",
"canada",
"northamerica-other"
]
},
{
"continent": "oceania",
"countries": [
"palau",
"easttimor",
"thecookislands",
"australia",
"christmasisland",
"themarshallislands",
"micronesia",
"papuanewguinea",
"solomonislands",
"kiribati",
"tuvalu",
"nauru",
"vanuatu",
"newcaledonia",
"norfolkisland",
"newzealand",
"fiji",
"northernmarianaislands",
"frenchpolynesia",
"pitcairnislands",
"tokelau",
"tonga",
"wallisandfutunaislands",
"americansamoa",
"samoa",
"niue",
"guam",
"northernmarianaislands",
"americansamoa",
"oceania-other"
]
},
{
"continent": "southamerica",
"countries": [
"columbia",
"frenchguiana",
"guyana",
"frenchguiana",
"suriname",
"brazil",
"falklandislands",
"argentina",
"paraguay",
"uruguay",
"venezuela",
"ecuador",
"peru",
"chile",
"bolivia"
]
}
],
"requestId": "TECDB2BC5-XXXX-XXXX-XXXX-492DC9E7848E"
}
}
4. Error Codes
The following includes error codes encountered in business logic. For other error codes, see Common Error Codes.
Last updated