Vai al contenuto principale
GET
/
site-minimal
Elenca Site (Minimale)
curl --request GET \
  --url https://api.altostrat.io/site-minimal \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a",
    "pid": "site_2m3h5n7k9j8g7f6e5d4c3b2a1",
    "name": "Firewall Sede Remota",
    "has_pulse": true,
    "software_version": "7.15.1",
    "software_id": "U0B1-15HF",
    "serial_number": "HFB098M0M2P",
    "created_at": "2025-09-15T14:00:00Z"
  }
]

Authorizations

Authorization
string
header
required

Autentica le richieste fornendo un JSON Web Token (JWT) nell'header Authorization. Esempio: Authorization: Bearer <TUO_JWT>

Response

200 - application/json

Un elenco minimale di site.

id
string<uuid>

L'identificatore univoco (UUID) per il site.

Example:

"9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a"

pid
string

Un identificatore univoco con prefisso, ordinabile per data, per il site.

Example:

"site_2m3h5n7k9j8g7f6e5d4c3b2a1"

name
string

Il nome definito dall'utente per il site.

Example:

"Firewall Sede Remota"

has_pulse
boolean

Indica se il site è attualmente online.

Example:

true

software_version
string | null

La versione del software RouterOS.

Example:

"7.15.1"

software_id
string | null

L'ID software fornito da RouterOS.

Example:

"U0B1-15HF"

serial_number
string | null

Il numero di serie del dispositivo MikroTik.

Example:

"HFB098M0M2P"

created_at
string<date-time>

Il timestamp di creazione del site.

Example:

"2025-09-15T14:00:00Z"