Consulta el estado de la API en tiempo real → status.locatebyteli.com
curl --request GET \
--url https://api.locatebyteli.com/devices/{id}/history/route \
--header 'Authorization: <authorization>'{
"points": [
{
"latitude": 19.4326,
"longitude": -99.1332,
"speed": 45,
"timestamp": 1710756000
},
{
"latitude": 19.4330,
"longitude": -99.1340,
"speed": 50,
"timestamp": 1710756060
}
],
"stops": [
{
"latitude": 19.4350,
"longitude": -99.1360,
"duration": 1800,
"start": 1710757000,
"end": 1710758800
}
],
"total_distance": 15.5,
"total_duration": 3600
}
Obtiene la ruta recorrida por el dispositivo en un rango de tiempo
curl --request GET \
--url https://api.locatebyteli.com/devices/{id}/history/route \
--header 'Authorization: <authorization>'{
"points": [
{
"latitude": 19.4326,
"longitude": -99.1332,
"speed": 45,
"timestamp": 1710756000
},
{
"latitude": 19.4330,
"longitude": -99.1340,
"speed": 50,
"timestamp": 1710756060
}
],
"stops": [
{
"latitude": 19.4350,
"longitude": -99.1360,
"duration": 1800,
"start": 1710757000,
"end": 1710758800
}
],
"total_distance": 15.5,
"total_duration": 3600
}
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}/route{
"points": [
{
"latitude": 19.4326,
"longitude": -99.1332,
"speed": 45,
"timestamp": 1710756000
},
{
"latitude": 19.4330,
"longitude": -99.1340,
"speed": 50,
"timestamp": 1710756060
}
],
"stops": [
{
"latitude": 19.4350,
"longitude": -99.1360,
"duration": 1800,
"start": 1710757000,
"end": 1710758800
}
],
"total_distance": 15.5,
"total_duration": 3600
}
| Código | Descripción |
|---|---|
400 | Parámetros inválidos |
404 | Dispositivo no encontrado |
500 | Error interno del servidor |