tencent cloud

Feedback

DescribeChartDownloadInfo

Last updated: 2024-03-21 17:45:48

    1. API Description

    Domain name for API request: tcr.tencentcloudapi.com.

    This API is used to return the chart download information in an Enterprise Edition instance.

    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: DescribeChartDownloadInfo.
    Version Yes String Common Params. The value used for this API: 2019-09-24.
    Region Yes String Common Params. For more information, please see the list of regions supported by the product.
    RegistryId Yes String Instance ID
    NamespaceName Yes String Namespace
    ChartName Yes String Chart name
    ChartVersion Yes String Chart version

    3. Output Parameters

    Parameter Name Type Description
    PreSignedDownloadURL String Presigned URL for download
    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.

    4. Example

    Example1 Querying the download information of a chart

    Input Example

    https://tcr.tencentcloudapi.com/?Action=DescribeChartDownloadInfo
    &RegistryId=tcr-test123
    &NamespaceName=mytest
    &ChartName=mytest
    &ChartVersion=1.0
    &<Common request parameters>
    

    Output Example

    {
        "Response": {
            "PreSignedDownloadURL": "http://tcr-mfoeec7x-1251707795.cos.ap-beijing.myqcloud.com/mytest%2Faaa-1.0.tgz?x-cos-security-token=crYJrPad4qVUuF1wM7B6ydE6fHmfC2Aa029f573e37399315f36f138a35d76483CzO4vdVHQC37m42wwxGV25f9eYVEMC1mwypgp3oLANGncOsZiRLHRQT39V32-eO7uK5V1AyROprYScr7zhVl-y9HgVX8b1Q-48X0y_CebL2pLchYzWMBnn86lS9vQGBYAZYyKnK8yHc20GuqbXjHuPeJUU6o7E9GIxmqQnN2otJeVqkJRqAvl_7dlE-z3SoxKoXAc3mtv5_2LRJKzGelfW7T3kA6D9etVFa4WYlc-qEHCRwKY4V5Qcz6nLklYJTcHAWod-Z5jl1YD7OvTV_Tcs45myCHz_LufpxwXErAdvXcFHfNIP5NNWVTGHX0xXYFlTa6O7XrivSy9Y7sHyKlD2_GFXIVfqJ_ngfW9NBjWf0&sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDwgeCmMrZak-ZNXGoGgRm04pnzUHahzQPZvSqc1o7F1cMQ53q0RfOCImKR3McEgfD%26q-sign-time%3D1620704774%3B1620708374%26q-key-time%3D1620704774%3B1620708374%26q-header-list%3Dhost%26q-url-param-list%3Dx-cos-security-token%26q-signature%3D6a17a10308b9ead591bee149665b469756dd6711",
            "RequestId": "eac6b301-a322-493a-8e36-83b295459397"
        }
    }
    

    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 Internal error. Please check and try again.
    InvalidParameter Parameter error. Please check and try again.
    ResourceNotFound The resource does not exist.
    UnsupportedOperation Unsupported operation