1
0
forked from docs/doc-exports
doc-exports/docs/dds/api-ref/dds_api_0059.html
Wang , Deng Ke 60010eb9d0 dds api 2.0.38sp24 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2023-01-13 08:55:41 +00:00

10 KiB

Obtaining the Link for Downloading a Backup File

Function

This API is used to obtain the link for downloading a backup file.

Constraints

The backup download link is valid within 15 minutes after being updated.

URI

Responses

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Description

    files

    Array of objects

    Indicates the list of backup files.

    For more information, see Table 3.

    bucket

    String

    Indicates the name of the bucket where the file is located.

    Table 3 files field data structure description

    Name

    Type

    Description

    name

    String

    Indicates the file name.

    size

    Long

    Indicates the file size in KB.

    download_link

    String

    Indicates the link for downloading the backup file.

    link_expired_time

    String

    Indicates the link expiration time. The format is "yyyy-mm-ddThh:mm:ssZ". T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. For example, the time zone offset of UTC is shown as +0000.

  • Response example
    {
       "files": [
        {
            "name": "43e4feaab48f11e89039fa163ebaa7e4br02.xxx",
            "size": 2803,
            "download_link":"https://obs.domainname.com/rdsbucket.username.1/xxxxxx",
            "link_expired_time":"2018-08-016T10:15:14+0000"
         }
         ],
        "bucket": "rdsbucket.bucketname"
    }

Status Code

Status Code:200.

For more information, see Status Code.

Error Code

For more information, see Error Code.