Domain name for API request: dcdb.tencentcloudapi.com.
This API is used to get the download URL of a specific backup or log file of a database.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeFileDownloadUrl. |
Version | Yes | String | Common Params. The value used for this API: 2018-04-11. |
Region | No | String | Common Params. This parameter is not required for this API. |
InstanceId | Yes | String | Instance ID |
ShardId | Yes | String | Shard ID |
FilePath | Yes | String | Unsigned file path |
Parameter Name | Type | Description |
---|---|---|
PreSignedUrl | String | Signed download URL |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
https://dcdb.tencentcloudapi.com/?Action=DescribeFileDownloadUrl
&InstanceId=tdsql-ow728lmc
&ShardId=shard-xxxx
&FilePath=/cos_backup/xxxx
&<Common request parameters>
{
"Response": {
"RequestId": "7212a9ec-a235-2144-98d4-59fbe6f14d79",
"PreSignedUrl": "https://tdsql-backup-1258415541.cos.ap-guangzhou.myqcloud.com/cos_backup%2ftdsql%2fset_1638329224_11111%2fxtrabackup%2f2021-12-01%2fcos_xtrabackup%2b1638330520%2b20211201%2b114840%2b3019005858%2bxbstream.lz4?sign=q-sign-algorithm%3dsha1%26q-ak%3dAKIDdXui%26q-sign-time%3d1638428235%3b1638429135%26q-key-time%3d1638428235%3b1638429135%26q-header-list%3d%26q-url-param-list%3d%26q-signature%3d41a73685c3cc6f67686587de2962b6"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError.CosSignUrl | Backup filename signature failed. |
InternalError.GetInstanceInfoFailed | Failed to get the instance information. |
InvalidParameter | Parameter error. |
InvalidParameter.InstanceNotFound | Failed to find the requested instance. |
ResourceUnavailable.InstanceStatusAbnormal | Incorrect database instance status. Operations are not allowed. |
Was this page helpful?