Détail d'un objet connecté
GET/devices/:id
Détail d'un objet connecté
Request
Path Parameters
id integerrequired
Identifiant {@from path}
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- BeehiveSimpleRespond
- ApiarySimpleRespond
id integer
Identifiant
name stringnullable
Nom
type integer
Type (0=custom, 1=optibee, 2=honey_instruments, 3=bee2beep, 4=cbk)
typeConnection integernullable
Type de connexion (0=sigfox, 2=lora, 3=satellite)
refExtern stringnullable
Référence externe
state integernullable
Statut
lat floatnullable
Latitude
lng floatnullable
Longitude
lastSync stringnullable
Dernière synchronisation
beehive
object
nullable
Ruche associée
oneOf
id integer
Identifiant
reference stringnullable
Référence
apiary
object
nullable
Rucher associé
oneOf
id integer
Identifiant
name stringnullable
Nom
{
"id": 23,
"name": "Balance Ruche 3",
"type": 0,
"typeConnection": 0,
"refExtern": "string",
"state": 0,
"lat": 0,
"lng": 0,
"lastSync": "string",
"beehive": {},
"apiary": {}
}
Device inconnu
Loading...