Queries the download URLs of application data on file servers and returns the file servers on which data is pushed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeDataDownloadURL |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
474bdef0-d149-4695-abfb-52912d9143f0 |
| DataName |
string |
Yes |
The name of the data file. |
mirror_file/pk-1642597182026-878199448832413.tar |
| DataVersion |
string |
Yes |
The version number of the data file. |
7895 |
| ServerFilterStrategy |
string |
No |
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\"]}} |
| ExpireTimeout |
integer |
No |
This parameter is reserved. |
600 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
object |
The download URLs of data files. |
|
| ServerList |
array<object> |
The file servers. |
|
|
object |
|||
| Host |
string |
The host address of the file server. |
1.1.1.1:8080 |
| RegionId |
string |
The ID of the Edge Node Service (ENS) node. |
cn-chenzhou-5 |
| Url |
string |
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 |
| ExpireTime |
string |
The time when the data file expires. The time is displayed in UTC. |
2021-12-10T03:36:27Z |
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Code |
integer |
The HTTP status code. |
0 |
| Message |
string |
The response message. Success is returned for a successful request. |
Success |
Examples
Success response
JSON format
{
"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 code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.