tencent cloud

APIs

Querying Style

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-09 11:32:55

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>


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백