ListObjects for Cloud Storage
ListObjects - Amazon Simple Storage Service
✅ Supported Parameters
prefix
delimiter
marker
max-keys
Example ListObjects request
GET /mybucket?prefix=myobject HTTP/1.1
Host: [region].telnyxstorage.com
X-Amz-Date: 20230927T154626Z
Authorization: AWS4-HMAC-SHA256 Credential=YOUR_TELNYX_API_KEY/20230927/test/execute-api/aws4_request, SignedHeaders=host;x-amz-date, Signature=b77c8c94d8f0bd0913708ae7da0fbac552d14a6f2b8853b6e297a12127156e38
Example ListObjects response
<?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>mybucket</Name>
<Prefix>myobject</Prefix>
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>myobject</Key>
<LastModified>2023-09-27T15:23:52.668Z</LastModified>
<ETag>"2da8bc8e8133ec2af9268515aae59e7a"</ETag>
<Size>22905</Size>
<StorageClass>STANDARD</StorageClass>
<Owner>
<ID>27784a49-1f14-4209-a58d-27fe905efe58</ID>
<DisplayName>27784a49-1f14-4209-a58d-27fe905efe58</DisplayName>
</Owner>
<Type>Normal</Type>
</Contents>
<Contents>
<Key>myobject_2</Key>
<LastModified>2023-09-27T15:44:06.670Z</LastModified>
<ETag>"0e43168b1e60136a3d4292c54763d449"</ETag>
<Size>27761</Size>
<StorageClass>STANDARD</StorageClass>
<Owner>
<ID>27784a49-1f14-4209-a58d-27fe905efe58</ID>
<DisplayName>27784a49-1f14-4209-a58d-27fe905efe58</DisplayName>
</Owner>
<Type>Normal</Type>
</Contents>
<Marker></Marker>
</ListBucketResult>