• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. GET Bucket versioning
  6. Responses

Responses

Syntax

HTTP/1.1 status_code 
 Server: Server Name 
 x-amz-request-id: request id 
 x-amz-id-2: id 
 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc 
 Content-Type: type 
 Date: date 
 Content-Length: length 

 <VersioningConfiguration xmlns="http://obs.example.com/doc/2015-06-30/"> 
 <Status>status</Status> 
 </VersioningConfiguration>

Response Headers

This response uses common headers. For details about common response headers, see section Common Response Headers.

Response elements

This response contains elements to specify the bucket versioning state. Table 1 describes the elements.

Table 1 Response elements

Element

Description

Remarks

VersioningConfiguration

Indicates the container for versioning state information.

Type: Container

Mandatory

Status

Specifies the versioning state of the bucket.

Type: Enumeration

Valid Values: Enabled, Suspended

Optional

Error Responses

No special error responses are returned. For details about error responses, see Table 1.