GET
/
v1
/
list
curl --request GET \
  --url https://blob.squarecloud.app/v1/list \
  --header 'Authorization: <authorization>'
{
  "status": "success",
  "response": {
    "objects": [
      {
        "name": "ID/prefix/name1_ltq7b2sw-de6241.jpeg",
        "size": 78266,
        "created_at": "2024-03-13T19:31:28.776Z"
      },
      {
        "name": "ID/prefix/name_ltq7b2sw-de6243-ex1.jpeg",
        "size": 90466,
        "created_at": "2024-03-13T19:35:28.776Z",
        "expire_at": "2024-03-14T19:35:28.776Z"
      },
    ]
  }
}
Authorization
string
required

The API key for your account. You can find this in your account settings.

prefix
string

A string representing the prefix for the file.
Must adhere to the a to z, A to Z, 0 to 9, and _ pattern. (3 to 32 characters)

continuationToken
string

A string representing the continuation token for the file list.

Response

status
string

Indicates whether the call was successful. “success” if successful, “error” if not.

response
object

Troubleshooting

Object-Related

// The provided object prefix is invalid.
// Must adhere to the a to z, A to Z, 0 to 9, and _ pattern.
{
    "status": "error",
    "code": "INVALID_OBJECT_PREFIX"
}