tencent cloud

Feedback

Querying Hotlink Protection

Last updated: 2024-01-31 17:07:40

    Overview

    This API is used to query the hotlink protection details (blocklist and allowlist) about a bucket.

    Request

    Sample request

    GET /?hotlink HTTP/1.1
    Host: <BucketName-APPID>.pic.<Region>.myqcloud.com
    Date: GMT Date
    Authorization: Auth String
    Note:
    Authorization: Auth String (see Request Signature for more information).

    Request headers

    This API only uses common request headers. For more information, please see Common Request Headers.

    Request body

    The request body of this request is empty.

    Response

    Response headers

    This API returns only common response headers. For more information, please see Common Response Headers.

    Response body

    The response body contains the type of hotlink protection and enumerates all allowed URLs.
    <?xml version="1.0" encoding="UTF-8" ?>
    <Hotlink>
    <Status>on</Status>
    <Type>white</Type>
    <Url>xxx</Url>
    <Url>xxx</Url>
    </Hotlink>
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support