This API is used to query the details about hotlink protection (blocklist and allowlist) in a bucket.
GET /?hotlink HTTP/1.1 Host: <BucketName-APPID>.pic.<Region>.myqcloud.com Date: GMT Date Authorization: Auth String
Authorization: Auth String (For more information, see Request Signature).
GET /?hotlink HTTP/1.1
This API allows PUT requests.
Common request headers are used for the implementation of this request operation. For more information, see Common Request Headers.
This request operation does not use any special request header.
This request operation does not use any special request body.
This response uses common response headers. For more information, see Common Response Headers.
This response does not use any special response header.
The response body contains the type of hotline protection and enumerates all addresses.
<Hotlink> <Status>on</Status> <Type>white</Type> <Url>xxx</Url> <Url>xxx</Url> </Hotlink>