tencent cloud

Feedback

Querying Style

Last updated: 2024-02-18 10:36:36

    Overview

    This API is used to query the styles set for a bucket. If the request body is not used, all styles set for the bucket will be queried. If the request body is used, only styles carried in the request body will be queried.
    

    Request

    Sample request

    GET /?style HTTP/1.1
    Host: <BucketName-APPID>.pic.<Region>.myqcloud.com
    Date: GMT Date
    Authorization: Auth String
    Note:
    Authorization: Auth String (See Request Signature for details.)
    When this feature is used by a sub-account, relevant permissions must be granted as instructed in Authorization Granularity Details.

    Request line

    GET /?style HTTP/1.1
    This API accepts GET requests.

    Request headers

    Common request headers

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

    Non-common request headers

    This API does not use any non-common request header.

    Request body

    <?xml version="1.0" encoding="UTF-8" ?>
    <GetStyle>
    <StyleName>string</StyleName>
    </GetStyle>

    Response

    Response headers

    Common response headers

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

    Non-common response headers

    This API does not use any non-common response header.

    Response body

    <StyleList>
    <StyleRule>
    <StyleName>string</StyleName>
    <StyleBody>string</StyleBody>
    </StyleRule>
    <StyleRule>
    <StyleName>string</StyleName>
    <StyleBody>string</StyleBody>
    </StyleRule>
    </StyleList>
    
    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