Consulta el estado de la API en tiempo real → status.locatebyteli.com
curl --request GET \
--url https://api.locatebyteli.com/devices/{id}/history/events \
--header 'Authorization: <authorization>'[
{
"alarm_code": "SOS",
"context": { "triggered_by": "button" },
"speed": 60,
"satellite": 8,
"coordinates": [19.4326, -99.1332],
"mcc": 334,
"mnc": 20,
"dbm": -75,
"timestamp": 1710756000
},
{
"alarm_code": "OVERSPEED",
"context": { "limit": 80, "actual": 120 },
"speed": 120,
"satellite": 10,
"coordinates": [19.4400, -99.1400],
"mcc": 334,
"mnc": 20,
"dbm": -68,
"timestamp": 1710757500
}
]
Obtiene los eventos/alarmas del dispositivo en un rango de tiempo
curl --request GET \
--url https://api.locatebyteli.com/devices/{id}/history/events \
--header 'Authorization: <authorization>'[
{
"alarm_code": "SOS",
"context": { "triggered_by": "button" },
"speed": 60,
"satellite": 8,
"coordinates": [19.4326, -99.1332],
"mcc": 334,
"mnc": 20,
"dbm": -75,
"timestamp": 1710756000
},
{
"alarm_code": "OVERSPEED",
"context": { "limit": 80, "actual": 120 },
"speed": 120,
"satellite": 10,
"coordinates": [19.4400, -99.1400],
"mcc": 334,
"mnc": 20,
"dbm": -68,
"timestamp": 1710757500
}
]
Documentation Index
Fetch the complete documentation index at: https://locatebyteli.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer lbt_•••GET /devices/{id}/events[latitud, longitud][
{
"alarm_code": "SOS",
"context": { "triggered_by": "button" },
"speed": 60,
"satellite": 8,
"coordinates": [19.4326, -99.1332],
"mcc": 334,
"mnc": 20,
"dbm": -75,
"timestamp": 1710756000
},
{
"alarm_code": "OVERSPEED",
"context": { "limit": 80, "actual": 120 },
"speed": 120,
"satellite": 10,
"coordinates": [19.4400, -99.1400],
"mcc": 334,
"mnc": 20,
"dbm": -68,
"timestamp": 1710757500
}
]
| Código | Descripción |
|---|---|
404 | Dispositivo no encontrado |
500 | Error en la consulta |