DescribeRegions
Queries the Alibaba Cloud regions that are supported by API Gateway.
Operation description
This operation queries regions in which API Gateway is available.
This operation is intended for API providers and callers.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Language |
string |
No |
The language in which you want to return the descriptions of the access control policies. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
36BBBAD4-1CFB-489F-841A-8CA52EEA787E |
| Regions |
object |
||
| Region |
array<object> |
The returned region information. It is an array that consists of Region data. |
cn-huhehaote |
|
object |
|||
| RegionEndpoint |
string |
The endpoint of the service for the region. |
apigateway.cn-shenzhen.aliyuncs.com |
| LocalName |
string |
The name of the region. |
华南1(深圳) |
| RegionId |
string |
The ID of the region. |
cn-shenzhen |
Examples
Success response
JSON format
{
"RequestId": "36BBBAD4-1CFB-489F-841A-8CA52EEA787E",
"Regions": {
"Region": [
{
"RegionEndpoint": "apigateway.cn-shenzhen.aliyuncs.com",
"LocalName": "华南1(深圳)",
"RegionId": "cn-shenzhen"
}
]
}
}
Error response
JSON format
{"code":500}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.