Skip to content

Network GET

The Man edited this page Apr 4, 2022 · 5 revisions

Get network configuration.

URL : /api/network/
Method : GET
Auth required : NO

Example Content

{
  "dhcp": true,
  "deviceIP": "192.168.5.118/24",
  "gateway": "192.168.5.1",
  "dns": "192.168.5.20"
  "mac": "24:62:AB:FF:FF:FF"
}

Note

This endpoint only returns IPv4 information.

Parameters

dhcp

If the device is currently set to use DHCP.

deviceIP

Current IP-Adress of the device.
Includes the CIDR notation of the current netmask.

gateway

Current gateway IP Address of the device.

dns1

Current primary DNS servers of the device.

mac

Current MAC address of the device.

Clone this wiki locally