This API is used to query the hotlink protection details (blocklist and allowlist) about a bucket.
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).
This API only uses common request headers. For more information, please see Common Request Headers.
The request body of this request is empty.
This API returns only common response headers. For more information, please see Common Response Headers.
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>
Was this page helpful?