ListBuckets
    • PDF

    ListBuckets

    • PDF

    Article Summary

    Overview

    Gets buckets that belong to the specified account by making a GET request to the endpoint. No parameters or payload is used for the operation.

    Request

    Syntax

    GET https://{endpoint}/
    

    Examples

    Request example

    GET / HTTP/1.1
    Content-Type: text/plain
    Host: kr.object.ncloudstorage.com
    X-Amz-Date: 20160822T030815Z
    Authorization: {authorization-string}
    

    Response example

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
        <Owner>
            <ID>{access-key}</ID>
            <DisplayName>{access-key}</DisplayName>
        </Owner>
        <Buckets>
            <Bucket>
                <Name>bucket-27200-lwx4cfvcue</Name>
                <CreationDate>2016-08-18T14:21:36.593Z</CreationDate>
            </Bucket>
            <Bucket>
                <Name>bucket-27590-drqmydpfdv</Name>
                <CreationDate>2016-08-18T14:22:32.366Z</CreationDate>
            </Bucket>
            <Bucket>
                <Name>bucket-27852-290jtb0n2y</Name>
                <CreationDate>2016-08-18T14:23:03.141Z</CreationDate>
            </Bucket>
            <Bucket>
                <Name>bucket-28731-k0o1gde2rm</Name>
                <CreationDate>2016-08-18T14:25:09.599Z</CreationDate>
            </Bucket>
        </Buckets>
    </ListAllMyBucketsResult>
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.