Knowledge base

List Bucket

List Bucket

Syntax

GET / HTTP/1.1
Host: {region}.cdn77-storage.com

Response Entities

NameDescription
Bucketsstring

Container for list of buckets.

Bucketnone

Container for bucket information.

Namestring

Bucket name.

CreationDatenone

UTC time when the bucket was created.

Ownernone

A container for the bucket owner's ID and DisplayName.

IDstring

The bucket owner's ID.

DisplayNamestring

The bucket owner's display name.

Example

GET / HTTP/1.1
Host: us-1.cdn77-storage.com
Authorization: AWS4-HMAC-SHA256 Credential=THS6EFN26FQNT309VG1/20230324/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=4fc9ee550b7b05a7209b3e41f439ed99a85b586ca0be1c29c39694b57114d383
X-Amz-Content-Sha256: e3b0c9afbf4c8996fb92427ae41e464944298fc1c14b934ca495991b7852b855
X-Amz-Date: 20230324T142155Z
HTTP/2 200
date: Thu, 30 Mar 2023 07:13:12 GMT
content-type: application/xml
vary: Accept-Encoding
x-amz-request-id: tx000003473a1aad527f587-0064253688-1f840d3-nyc
server: CDN77-Fast
x-77-nzt: AZySOhayJmMA
x-77-nzt-ray: ffffffff5b02bfc688362564ac52212d

<?xml version="1.0" encoding="UTF-8"?>
    <Owner>
        <ID>946570e-8532-4f3b-af51-9ak7f650d6c2</ID>
        <DisplayName>John Smith</DisplayName>
    </Owner>
    <Buckets>
        <Bucket>
            <Name>mypictures</Name>
            <CreationDate>2023-03-14T14:03:08.831Z</CreationDate>
        </Bucket>
        <Bucket>
            <Name>videos</Name>
            <CreationDate>2023-03-29T06:42:58.603Z</CreationDate>
        </Bucket>
    </Buckets>
</ListAllMyBucketsResult>

Updated on 10th September, 2024

Can’t find what you are looking for?