All Products
Search
Document Center

ENS:DescribeEnsRegions

Last Updated:Mar 12, 2024

Queries the Edge Node Service (ENS) nodes that you can use.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
EnsRegionIdstringNo

The ID of the node.

By default, all available node IDs are returned.

cn-dalian-unicom

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The service code. 0 is returned for a successful request. An error code is returned for a failed request.

0
EnsRegionsobject []

The information about the regions.

Areastring

The code of the region.

NorthEastChina
EnNamestring

The name of the node.

NorthChina
EnsRegionIdstring

The ID of the node.

cn-dalian-unicom
Namestring

The name of the node.

Provincestring

The province where the node is deployed.

RequestIdstring

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "Code": 0,
  "EnsRegions": {
    "EnsRegions": [
      {
        "Area": "NorthEastChina",
        "EnName": "NorthChina",
        "EnsRegionId": "cn-dalian-unicom",
        "Name": "",
        "Province": ""
      }
    ]
  },
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError message
400MissingParameterThe input parameters that is mandatory for processing this request is not supplied.
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

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

Change history

Change timeSummary of changesOperation
No change history