GetBucketTagging
更新时间:2023-07-25
接口描述
本接口用来获取单个bucket的tag信息
注意: 只有bucket的owner且拥有FULL_CONTROL权限才能够进行此请求。
请求
GET /?tagging HTTP/1.1
Host: <BucketName>.bj.bcebos.com
Date: <Date>
Authorization: <Authorization_String>
无特殊参数
响应
示例
GET /?tagging HTTP/1.1
Host: <BucketName>.bj.bcebos.com
Date: <Date>
Authorization: <Authorization_String>
HTTP/1.1 200 OK
x-bce-request-id: 0A49CE4060975EAC
Date: Wed, 12 Oct 2016 17:50:00 GMT
Connection: keep-alive
Server: BceBos
{
"tag":[
{
"tagKey":"key1",
"tagValue":"value123"
},
{
"tagKey":"ttt2",
"tagValue":"6863gerg"
}
]
"group":[]
}