NavigationContentFooter
Jump toSuggest an edit

Understanding common Object Storage operations

Reviewed on 03 July 2024Published on 13 September 2018

GetService

This operation returns a list of all buckets owned by the authenticated user that sent the request.

The operation does not list buckets created by other users, nor does it list buckets for anonymous requests.

Sample request:

GET / HTTP/1.1
Host: s3.nl-ams.scw.cloud
Date: Thu, 11 Apr 2019 10:16:53 GMT
Authorization: authorization string

Sample response:

<?xml version='1.0' encoding='UTF-8'?>
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Owner>
<ID>04dcf44f-a6ca-4e69-a74c-f0c557d87d79:04dcf44f-a6ca-4e69-a74c-f0c557d87d79</ID>
<DisplayName>04dcf44f-a6ca-4e69-a74c-f0c557d87d79:04dcf44f-a6ca-4e69-a74c-f0c557d87d79</DisplayName>
</Owner>
<Buckets>
<Bucket>
<Name>myfirstbucket</Name>
<CreationDate>2018-09-12T11:54:02.000Z</CreationDate>
</Bucket>
<Bucket>
<Name>myotherbucket</Name><CreationDate>2019-04-11T10:10:17.000Z</CreationDate>
</Bucket>
</Buckets>
</ListAllMyBucketsResult>'

CLI command

aws s3 ls
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway