Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

ListObjectsV2

GET 
/:bucketName

List all objects contained in a given bucket.

Request

Path Parameters

    bucketName stringrequired

    Possible values: >= 4 characters and <= 64 characters

    The name of the bucket.

Query Parameters

    list-type integer

    Possible values: [2]

Responses

200: Success

404: Bucket does not exist.

Request samples


curl -L 'https://telnyxcloudstorage.com/:bucketName' \
-H 'Accept: text/xml' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


<root>
<Name>string</Name>
<Contents>
<Key>string</Key>
<Size>0</Size>
<LastModified>2024-07-26T07:46:07.701Z</LastModified>
</Contents>
</root>