Gateway Service
Last updated
Was this helpful?
Last updated
Was this helpful?
Get a list of devices.
/devices
Pagination start (starts at 1. If not specified, 1 is assumed)
Maximum number of entries to return (if absent, no limit is assumed)
Filter the results
Supply a list of devices comma separated
serial1,serial2,serial3
only serial numbers of full device details
return the number of devices
countOnly=true
Return extra information with the device information
return extended information
serialNumber:a,created:d
return extended information
return extended information
Get a list of commands.
/commands
Selecting this option means the newest record will be returned. Use limit to select how many.
Create a default configuration.
/default_configuration/{name}
Update a default configuration
/default_configuration/{name}
/device/{serialNumber}
AP
, SWITCH
, IOT
, MESH
/device/{serialNumber}
AP
, SWITCH
, IOT
, MESH
/device/{serialNumber}/logs
0=any kind of logs (default) 0=normal logs only 1=crash logs only
Selecting this option means the newest record will be returned. Use limit to select how many.
/device/{serialNumber}/logs
0=any kind of logs (default) 1=normal logs only 2=crash logs only
No body
/device/{serialNumber}/healthchecks
Selecting this option means the newest record will be returned. Use limit to select how many.
Selecting this option means the last healthcheck will be returned. All other parameters will be ignored.
/device/{serialNumber}/statistics
Selecting this option means the Last Statistics block
Selecting this option means the newest record will be returned. Use limit to select how many.
/device/{serialNumber}/script
uci
, ucode
, shell
No body
/device/{serialNumber}/leds
only applies to the blink pattern
on
, off
, blink
No body
/device/{serialNumber}/trace
No body
/device/{serialNumber}/telemetry
0 - means to stop streaming, values 1-120 in seconds.
how long should the telemetry run
set to true to start kafka telemetry, false to start websocket telemetry
only valid when terminating a stream
No body
Get a list of blacklisted devices.
/blacklist
Pagination start (starts at 1. If not specified, 1 is assumed)
Maximum number of entries to return (if absent, no limit is assumed)
Filter the results
/blacklist/{serialNumber}
Pagination start (starts at 1. If not specified, 1 is assumed)
/blacklist/{serialNumber}
Pagination start (starts at 1. If not specified, 1 is assumed)