Get network settings
Returns network settings. If DHCP option is enabled, response will contain settings gained from DHCP server.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- is_cable_connected booleanNetwork cable connection status 
- ip_address ipv4ipv4 address of device 
- mask ipv4mask used by device 
- gateway ipv4gateway used by device 
- dns ipv4dns in ipv4 format used by device 
- dhcp booleanIs DHCP enabled 
{
  "is_cable_connected": true,
  "ip_address": "192.168.1.96",
  "mask": "255.255.255.0",
  "gateway": "192.168.1.1",
  "dns": "8.8.8.8",
  "dhcp": false
}
{
  "is_cable_connected": true,
  "dhcp": false,
  "ip_address": "192.168.1.96",
  "mask": "255.255.255.0",
  "gateway": "192.168.1.1",
  "dns": "8.8.8.8"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
Loading...