Skip to main content
GET
/
api
/
v1
/
buckets
/
{bucket}
/
objects
/
{prefix}
List Objects
curl --request GET \
  --url https://storage-service.iran.liara.ir/api/v1/buckets/{bucket}/objects/{prefix} \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": {
    "objects": {
      "IsTruncated": true,
      "Contents": [
        {
          "Key": "<string>",
          "LastModified": "<string>",
          "ETag": "<string>",
          "ChecksumAlgorithm": [
            {}
          ],
          "Size": 123,
          "StorageClass": "<string>"
        }
      ],
      "Name": "<string>",
      "Prefix": "<string>",
      "Delimiter": "<string>",
      "MaxKeys": 123,
      "CommonPrefixes": [
        {
          "Prefix": "<string>"
        }
      ],
      "KeyCount": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

bucket
string
required
prefix
string
required

Query Parameters

number
string

specify number of object ( max: 50, min: 1 )

page
string

Response

successful operation

status
string
data
object