GetBucketVersioning
接口描述
本接口用来获取某个Bucket的version状态。
请求(Request)
GET /?versioning HTTP/1.1
Host: <BucketName>.bj.bcebos.com
x-bce-date: <Date>
Authorization: <AuthorizationString>
响应(Response)
-
响应元素(以JSON请求为例)
名称 |
类型 |
描述 |
status |
String |
bucket的多版本状态 |
-
响应头域
无
示例
-
请求示例
GET /?versioning HTTP/1.1
Host: BucketName.bj.bcebos.com
x-bce-date: 2024-04-06T08:23:49Z
Authorization: AuthorizationString
-
响应示例
HTTP/1.1 200 OK
x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409
Date: Wed, 06 Apr 2024 06:34:40 GMT
Server: BceBos
{status: enabled}