All Products
Search
Document Center

ENS:DescribeDataDownloadURL

Last Updated:Mar 12, 2024

Queries the download URLs of application data on file servers and returns the file servers on which data is pushed.

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
AppIdstringYes

The ID of the application.

474bdef0-d149-4695-abfb-52912d9143f0
DataNamestringYes

The name of the data file.

mirror_file/pk-1642597182026-878199448832413.tar
DataVersionstringYes

The version number of the data file.

7895
ServerFilterStrategystringNo

The condition that you want to use to filter file servers. You can specify multiple canary release policies. By default, all resources are queried.

{\"name\": \"ScheduleToRegionId\",\"parameters\":{\"operator\": \"In\",\"values\": [\"cn-shijiazhuang-telecom_unicom_cmcc\"]}}
ExpireTimeoutlongNo

This parameter is reserved.

600

Response parameters

ParameterTypeDescriptionExample
object
Dataobject

The download URLs of data files.

ServerListobject []

The file servers.

Hoststring

The host address of the file server.

1.1.1.1:8080
RegionIdstring

The ID of the Edge Node Service (ENS) node.

cn-chenzhou-5
Urlstring

The download URL of the data file.

/file/1450088842124331/97a32f2a-aa2c-436a-b19c-05b20d258618/f0313053530fc727f81b7d03fad93cd2/e4c2e8edac362acab7123654b9e73432?ak=edgepaas-innerapi-daily&ts=1611229454&sign=Yycbax%2F4OsTgm6BLoxR6lPs5gKE%3D
ExpireTimestring

The time when the data file expires. The time is displayed in UTC.

2021-12-10T03:36:27Z
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
Codelong

The HTTP status code.

0
Messagestring

The response message. Success is returned for a successful request.

Success

Examples

Sample success responses

JSONformat

{
  "Data": {
    "ServerList": [
      {
        "Host": "1.1.1.1:8080",
        "RegionId": "cn-chenzhou-5"
      }
    ],
    "Url": "/file/1450088842124331/97a32f2a-aa2c-436a-b19c-05b20d258618/f0313053530fc727f81b7d03fad93cd2/e4c2e8edac362acab7123654b9e73432?ak=edgepaas-innerapi-daily&ts=1611229454&sign=Yycbax%2F4OsTgm6BLoxR6lPs5gKE%3D",
    "ExpireTime": "2021-12-10T03:36:27Z"
  },
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "Code": 0,
  "Message": "Success"
}

Error codes

HTTP status codeError codeError message
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