Pular para o conteúdo principal
GET
/
site-minimal
Listar Sites (Mínimo)
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 da Filial",
    "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

Autentique as requisições fornecendo um JSON Web Token (JWT) no cabeçalho Authorization. Exemplo: Authorization: Bearer <SEU_JWT>

Response

200 - application/json

Uma lista mínima de sites.

id
string<uuid>

O identificador único (UUID) para o site.

Example:

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

pid
string

Um identificador único prefixado e classificável por tempo para o site.

Example:

"site_2m3h5n7k9j8g7f6e5d4c3b2a1"

name
string

O nome definido pelo usuário para o site.

Example:

"Firewall da Filial"

has_pulse
boolean

Indica se o site está atualmente online.

Example:

true

software_version
string | null

A versão do software RouterOS.

Example:

"7.15.1"

software_id
string | null

O ID do software fornecido pelo RouterOS.

Example:

"U0B1-15HF"

serial_number
string | null

O número de série do dispositivo MikroTik.

Example:

"HFB098M0M2P"

created_at
string<date-time>

O timestamp de quando o site foi criado.

Example:

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