Liste des objets connectés
GET/devices
Liste des objets connectés
Request
Query Parameters
type integer
Type de device {@from query} {@required false}
page integer
Page {@from query} {@required false}
limit integer
Items par page {@from query} {@required false}
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- BeehiveSimpleRespond
- ApiarySimpleRespond
]
data
object[]
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
pagination object
{
"data": [
{
"id": 23,
"name": "Balance Ruche 3",
"type": 0,
"typeConnection": 0,
"refExtern": "string",
"state": 0,
"lat": 0,
"lng": 0,
"lastSync": "string",
"beehive": {},
"apiary": {}
}
],
"pagination": {}
}
Unauthorized
Loading...