Skip to main content
GET
/
v2
/
users
/
snapshots
List Snapshots
curl --request GET \
  --url https://api.squarecloud.app/v2/users/snapshots \
  --header 'Authorization: <authorization>'
{
  "status": "success",
  "response": [
    {
      "name": "1d2cdc0d6ebd435c91315c6329d12eab",
      "size": 12900705,
      "modified": "2024-06-27T06:23:42.326Z",
      "key": "AWSAccessKeyId=accesskey"
    },
    {
      "name": "1d2cdc0d6ebd435c91315c6329d12eab",
      "size": 12900705,
      "modified": "2024-06-26T07:05:40.000Z",
      "key": "AWSAccessKeyId=accesskey"
    },
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt

Use this file to discover all available pages before exploring further.

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

Query Parameters

scope
string
default:"applications"
Specifies the type of snapshots to retrieve.
  • applications (default): Returns snapshots of applications
  • databases: Returns snapshots of databases

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The contents of the response.
{
  "status": "success",
  "response": [
    {
      "name": "1d2cdc0d6ebd435c91315c6329d12eab",
      "size": 12900705,
      "modified": "2024-06-27T06:23:42.326Z",
      "key": "AWSAccessKeyId=accesskey"
    },
    {
      "name": "1d2cdc0d6ebd435c91315c6329d12eab",
      "size": 12900705,
      "modified": "2024-06-26T07:05:40.000Z",
      "key": "AWSAccessKeyId=accesskey"
    },
  ]
}
The format of the URL to download the desired snapshot is: https://snapshots.squarecloud.app/applications/{accountID}/{name}.zip?{key}