DescribeAccelerationRegions
1. 接口描述
本接口(DescribeAccelerationRegions)用于查询加速域名的加速区域。
2. 响应结果
唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
3. 代码示例
POST / HTTP/1.1
Host: console.zenlayer.com/api/v2/cdn
Content-Type: application/json
X-TC-Action: DescribeAccelerationRegions
<Common Request Params>
Request:
{
}
Response:
{
"requestId": "T6883FCD0-3E7D-44EA-A517-A421A52A27F4",
"response": {
"requestId": "T6883FCD0-3E7D-44EA-A517-A421A52A27F4",
"regionSet": [
{
"regionId": "0bf12a3e-0a44-4515-bda8-1fcb25a2e311",
"regionName": "GlobalExcludingMainlandChina"
},
{
"regionId": "9e00168d-748d-4ff0-8aa5-8bc3792e8988",
"regionName": "Global"
}
]
}
}
4. 错误码
下面包含业务逻辑中遇到的错误码,其他错误码见公共错误码