All Products
Search
Document Center

OpenSearch:DescribeRegions

Last Updated:Oct 16, 2024

Queries available regions.

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 syntax

GET /openapi/ha3/regions HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
acceptLanguagestringNo

The language of the response. Default value: zh-cn.

zh-cn

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

id of request

E7B7D598-B080-5C8E-AA35-D43EC0D5F886
resultarray<object>

The result.

Itemobject

The result.

localNamestring

The name of the region.

China (Hangzhou)
endpointstring

The endpoint of the region.

endpoint
regionIdstring

The ID of the region. Valid values:

cn-hangzhou: China (Hangzhou)

cn-shanghai: China (Shanghai)

cn-qingdao: China (Qingdao)

cn-beijing: China (Beijing)

cn-zhangjiakou: China (Zhangjiakou)

cn-shenzhen: China (Shenzhen)

ap-southeast-1: Singapore (Singapore)

cn-internal: Internal Center

cn-zhangbei-in: Internal Center (Zhangjiakou)

us-west-1-in: Internal Center (US)

rus-west-1-in: Internal Center (Russia)

cn-daily: Daily Environment

cn-test: Joint Debugging

pre-hangzhou: China (Hangzhou)-Staging

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886",
  "result": [
    {
      "localName": "China (Hangzhou)",
      "endpoint": "endpoint",
      "regionId": "cn-hangzhou"
    }
  ]
}

Error codes

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