Skip to main content
GET
/
{site}
/
List backups for a site
curl --request GET \
  --url https://api.altostrat.io/backups/{site}/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "date": "2023-05-14",
    "time": "10:05:22",
    "size": "3.1B",
    "filename": "1682025675.rsc"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site
string
required

The site ID (UUID or some ID string) to list backups for.

Response

An array of backup files

date
string

Local date portion from the timestamp

Example:

"2023-05-14"

time
string

Local time portion from the timestamp

Example:

"10:05:22"

size
string

Abbreviated file size, e.g. 1.2KB

Example:

"3.1B"

filename
string

Backup filename

Example:

"1682025675.rsc"

I