Vai al contenuto principale
GET
/
sites
/
{siteId}
/
notes
Elenca note del sito
curl --request GET \
  --url https://api.altostrat.io/sites/{siteId}/notes \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "Diagramma di Rete Q4 2025.pdf",
    "key": "f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3b2a1f6e5",
    "size": 1048576,
    "last_modified": "2025-10-29T14:00:00Z",
    "download_url": "https://s3.amazonaws.com/altostrat-bucket/...?..."
  }
]

Authorizations

Authorization
string
header
required

Un token bearer è richiesto per tutte le richieste API.

Path Parameters

siteId
string
required

L'identificatore univoco per il sito.

Response

Un elenco di file di note.

name
string

Il nome visualizzato del file.

Example:

"Diagramma di Rete Q4 2025.pdf"

key
string

L'identificatore univoco o la chiave per il file nello storage.

Example:

"f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3b2a1f6e5"

size
integer

La dimensione del file in byte.

Example:

1048576

last_modified
string<date-time>

La data e ora dell'ultima modifica del file.

Example:

"2025-10-29T14:00:00Z"

download_url
string<uri>

Un URL pre-firmato di breve durata per scaricare direttamente il file.

Example:

"https://s3.amazonaws.com/altostrat-bucket/...?..."