tencent cloud

フィードバック

DescribeFileDownloadUrl

最終更新日:2023-06-21 15:55:41

1. API Description

Domain name for API request: mariadb.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.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: 2017-03-12.
Region No String Common Params. This parameter is not required for this API.
InstanceId Yes String Instance ID
FilePath Yes String Unsigned file path

3. Output Parameters

Parameter Name Type Description
PreSignedUrl String Signed download URL
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 N/A

Input Example

https://mariadb.tencentcloudapi.com/?Action=DescribeFileDownloadUrl
&InstanceId=tdsql-ow728lmc
&FilePath=/cos_backup/xxxx
&<Common request parameters>

Output Example

{
    "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"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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 file signature failed.
InternalError.GetInstanceInfoFailed Failed to get the backend instance information.
InvalidParameter Parameter error.
InvalidParameter.InstanceNotFound Failed to find the requested instance.
ResourceUnavailable.InstanceStatusAbnormal Incorrect database instance status. Operations are not allowed.
お問い合わせ

カスタマーサービスをご提供できるため、ぜひお気軽にお問い合わせくださいませ。

テクニカルサポート

さらにサポートが必要な場合は、サポートチケットを送信して弊社サポートチームにお問い合わせください。24時間365日のサポートをご提供します。

電話サポート(24 時間365日対応)