Pular para o conteúdo principal
GET
/
v1
/
monitoring
/
mikrotik-stats
/
{siteId}
Obter Histórico de Heartbeat do Dispositivo
curl --request GET \
  --url https://api.altostrat.io/v1/monitoring/mikrotik-stats/{siteId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "time_formatted": "12:00",
    "date_formatted": "29 Out",
    "missed_heartbeats_percentage": 0,
    "total_minutes_down": 0
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

siteId
string<uuid>
required

O identificador único para o site.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

Uma lista de relatórios de status de heartbeat por hora.

time_formatted
string

A hora da verificação de heartbeat.

Example:

"12:00"

date_formatted
string

A data da verificação de heartbeat.

Example:

"29 Out"

missed_heartbeats_percentage
number

A porcentagem da hora em que o dispositivo foi considerado inativo devido a heartbeats perdidos.

Example:

0

total_minutes_down
number

O número total de minutos que o dispositivo foi considerado inativo durante esta hora.

Example:

0