→
ResponseJSON Object
carrier (boolean) –State ofEthernet link,true when physicallayerisconnected.
duplex (string) –Duplex mode ofEthernet link,half or full.
ethaddr (string) –Ethernet hardware(MAC) address.
hostname (string) –Hostname of thesensor,also usedwhen requestingDHCP lease.
ipv4 (object) –See ipv4 object
ipv6.link_local (string) –Link-local IPv6address.
speed (integer) –Ethernet physicallayerspeedin Mbps, shouldbe 1000 Mbps.
StatusCodes
200OK –No error
GET system/network/ipv4
Getthe IPv4networkconfiguration.
GET /api/v1/system/network/ipv4 HTTP/1.1
Host: 192.0.2.123
HTTP/1.1 200 OK
content-type: application/json; charset=UTF-8
{
"addr": "192.0.2.123/23",
"link_local": "169.254.245.183/16",
"override": null
}
→
ResponseJSON Object
addr (string) –Current globalor privateIPv4 address.
link_local (string) –Link-local IPv4address.
override (string)– Static IPoverridevalue,this shouldmatchaddr. This valuewillbe null when
unsetand operatingin DHCP mode.
StatusCodes
200OK –No error
GET system/network/ipv4/override
Getthe currentIPv4 staticIP addressoverride.
GET /api/v1/system/network/ipv4/override HTTP/1.1
Host: 192.0.2.123
HTTP/1.1 200 OK
content-type: application/json; charset=UTF-8
null
→
ResponseJSON Object
31