List the company's 4G gateways
/gateways All the gateways attached to the company, including those carrying no probe in service — GET /modules does not show them. Sorted by identifier.
Query parameters
-
cursorstringOpaque pagination cursor
-
limitinteger -
searchstringFragment of a serial number or IMEI, case-insensitive:
65F9finds the gateway whose serial number ends that way. -
langstringLanguage of the
labelfields, and of a probe’s default name (name: “Probe 3”, “Sonde 3”). Thecodevalues never vary. A crop with no translation falls back to its French name.
Response
The company’s gateways
-
dataarray of Gateway always presentA 4G gateway attached to the company: it is the one powering the probes and transmitting their measurements. Its state comes from its last transmission, with the same thresholds as
GatewayHealth.Show 10 attributes Hide attributes
-
idinteger always presentIdentifier of the gateway — the
currentGateway.idof its modules. -
imeistring always presentIMEI of the gateway’s modem.
-
serialHexstring nullable always presentSerial number printed on the gateway’s label, 24 hexadecimal characters.
null: no serial number is recorded for this gateway — this is the case for the oldest ones. -
firmwarestring nullable always presentVersion of the gateway’s software, for example
2.5.2.nulluntil the gateway has transmitted it. -
assignedAtstring date-time always presentDate the gateway was attached to the company.
-
statusstring always presentfaulty: no transmission for more than 25 hours, or none so far. -
lastSeenstring date-time nullable always presentLast transmission.
null: the gateway has not transmitted anything yet. -
socinteger nullable always presentEstimated battery charge, %, derived from its voltage at the last transmission.
nullif the voltage is unknown. -
levelinteger nullable always presentNetwork signal quality at the last transmission, in bars, from 0 to 4.
nullif unknown. -
modulesarray of object always presentThe company’s modules plugged into this gateway — the ones
GET /modulesreturns with this gateway ascurrentGateway. Empty: no probe in service on this gateway, for example a gateway registered but not yet installed.Show 4 attributes Hide attributes
-
idinteger always presentIdentifier of the module, to pass to the
/modules/{id}routes. -
uidstring always presentTechnical identifier of the module.
-
namestring nullable always presentName of the probe, like
Module.name: it followslang. -
categorystring nullable always present
-
-
-
next_cursorstring nullable always presentCursor for the next page, to be passed back as is in
cursor.null: last page.
Errors
- 401
Not authenticated
- 403
Insufficient scope, or resource outside your company