Vai al contenuto principale
GET
/
sites
/
{siteId}
/
backups
Elenca i Backup per un Sito
curl --request GET \
  --url https://api.altostrat.io/sites/{siteId}/backups \
  --header 'Authorization: Bearer <token>'
[
  {
    "filename": "1732567800.rsc",
    "size": "12.3KB",
    "date": "29/10/2025",
    "time": "12:50:00",
    "created_at": "2025-10-29T12:50:00.000000Z"
  }
]

Authorizations

Authorization
string
header
required

È richiesto un token bearer per tutte le richieste API. Ottenere un token tramite l'API di Autenticazione di Altostrat.

Path Parameters

siteId
string<uuid>
required

L'identificatore univoco del sito.

Example:

"a1b2c3d4-e5f6-7890-1234-567890abcdef"

Response

Una risposta di successo che restituisce un elenco di metadati dei file di backup.

filename
string

Il nome file univoco del file di backup, che funge da suo ID.

Example:

"1732567800.rsc"

size
string

La dimensione del file di backup in formato leggibile.

Example:

"12.3KB"

date
string

La data di creazione del backup, formattata secondo le preferenze dell'utente.

Example:

"29/10/2025"

time
string

L'ora di creazione del backup, formattata secondo le preferenze e il fuso orario dell'utente.

Example:

"12:50:00"

created_at
string<date-time>

Il timestamp completo ISO 8601 di quando è stato creato il backup.

Example:

"2025-10-29T12:50:00.000000Z"