Saltar al contenido principal
GET
/
v1
/
monitoring
/
mikrotik-stats
/
{siteId}
Obtener Historial de Heartbeat del 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 Oct",
    "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

El identificador único para el sitio.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

Una lista de informes de estado de heartbeat por hora.

time_formatted
string

La hora de la comprobación de heartbeat.

Example:

"12:00"

date_formatted
string

La fecha de la comprobación de heartbeat.

Example:

"29 Oct"

missed_heartbeats_percentage
number

El porcentaje de la hora en que el dispositivo se consideró inactivo debido a heartbeats perdidos.

Example:

0

total_minutes_down
number

El número total de minutos que el dispositivo se consideró inactivo durante esta hora.

Example:

0