ListBuckets¶
Returns a list of all buckets available to the authenticated sender of the request.
Some buckets may be hidden if the provided Key
does not have a List
ACL for that specific bucket.
You must have List
ACL to be able to call this action.
The following operations are related to ListBuckets
:
Request Syntax¶
1PUT / HTTP/1.1
2Host: s3.tebi.io
The request does not use any URI parameters.
The request does not have a request body.
Response Syntax¶
1HTTP/1.1 200
2Content-Type: application/xml
3Content-Length: ContentLength
4
5HTTP/1.1 200
6<?xml version="1.0" encoding="UTF-8"?>
7<ListAllMyBucketsResult>
8 <Buckets>
9 <Bucket>
10 <CreationDate>timestamp</CreationDate>
11 <Name>string</Name>
12 </Bucket>
13 </Buckets>
14 <Owner>
15 <DisplayName>string</DisplayName>
16 <ID>string</ID>
17 </Owner>
18</ListAllMyBucketsResult>
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in XML format by the service:
ListAllMyBucketsResult: Root level tag for the
ListAllMyBucketsResult
parameters.Buckets: List of buckets owned by the requestor.
Owner: Owner of the buckets listed.
See Also¶
Refer here for more information.