最近更新时间:2025-04-08 18:04:43
该接口用于查询存储空间已添加的标签。使用此接口,必须是Bucket的所有者或具有ks3:GetBucketTagging
权限。
此接口仅涉及公共请求头。
此接口不涉及请求参数。
名称 | 类型 | 描述 |
Tagging | 容器 | 保存Bucket Tag结果的容器。
|
TagSet | 容器 | 保存Bucket Tag结果的容器。
|
Tag | 容器 | 保存Bucket Tag结果的容器。
|
Key | 字符串 | 某个Tag的Key。
|
Value | 字符串 | 某个Tag的Value。
|
GET /?tagging HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyuncs.com
Date: Wed, 14 May 2014 02:11:21 GMT
Content-MD5: xxx
Authorization: authorization string
Content-Length: yyy
Content-type: application/xml
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive
Date: Tue, 19 Jul 2017 09:14:23 GMT
Server: KS3
x-kss-request-id: 54a47bda18ac4e6e91de369add54218***
<Tagging>
<TagSet>
<Tag>
<Key>Keya</Key>
<Value>valuea</Value>
</Tag>
<Tag>
<Key>keya</Key>
<Value>valueb</Value>
</Tag>
</TagSet>
</Tagging>
错误码 | HTTP状态码 | 描述 |
AccessDenied | 403 AccessDenied | 没有 |
纯净模式