Liste des objets connectés
GET/device/all
Liste des objets connectés
Responses
- 200
- 401
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id integer
ID
typeConnection nullable
Type de connexion : Sigfox = 0, Lora = 2, Satellite = 3
refExtern stringnullable
Référence externe
name stringnullable
Nom de la balance
last_sync date-timenullable
Date de dernière synchronisation
state integernullable
Statut
lat floatnullable
Latitude
lng floatnullable
Longitude
[
{
"id": 23,
"typeConnection": 0,
"refExtern": "B0023",
"name": "Balance DIY n°2",
"last_sync": "2024-07-29T15:51:28.071Z",
"state": 0,
"lat": 48.4014,
"lng": 4.417
}
]
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
code integer
Code d'erreur
message string
Message de l'erreur
details integer[]
Informations supplémentaires
{
"code": 0,
"message": "string",
"details": [
0
]
}
{
"error": {
"code": 401,
"message": "Unauthorized",
"details": []
}
}
Loading...