• Object Storage Service

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

Examples

Sample Request

GET /?tagging HTTP/1.1 
User-Agent: curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.7 libidn/1.10 
Host: bucketname.obs.example.com 
Accept: */* 
Date: Tue, 09 May 2017 03:17:07 +0000 
Authorization: authorization string

Sample Response

HTTP/1.1 200 OK
Server: OBS 
x-amz-request-id: 0002B7532E0000015BEB35330C5884X1 
x-amz-id-2: s12w20LYNQqSb7moq4ibgJwmQRSmVQV+rFBqplOGYkXUpXeS/nOmbkyD+E35K79j 
x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc 
Content-Type: application/xml 
Date: Tue, 09 May 2017 03:16:23 GMT 
Content-Length: 441 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<Tagging xmlns="http://obs.example.com/doc/2015-06-30/"> 
    <TagSet> 
        <Tag> 
            <Key>TagNameJJ1</Key> 
            <Value>tytttasceettt</Value> 
        </Tag> 
</TagSet> 
</Tagging>