![Axis 2N Indoor Touch 2.0 Api Manual Download Page 89](http://html1.mh-extra.com/html/axis/2n-indoor-touch-2-0/2n-indoor-touch-2-0_api-manual_3038317089.webp)
2N TELEKOMUNIKACE a.s., www.2n.cz
89/94
3.11 Network
Getting current settings
Get the current
settings.
URL:
{{ip_addr}}
https://
/api/v1/network
HTTP method:
GET
Response code:
Standard HTTP response code, treating syntactic errors.
Response data:
{
"data"
: {
"dns"
:
"8.8.8.8"
,
"gateway"
:
"192.168.1.1"
,
"ipAddress"
:
"192.168.1.173"
,
"isDhcpEnabled"
:
true
,
"isEthernetEnabled"
:
true
,
"mask"
:
"255.255.255.0"
}
}
Section setting
URL:
{{ip_addr}}
https://
/api/v1/network
HTTP method:
PUT
Response code:
Standard HTTP response code, treating syntactic errors.
Request body:
{
"isDhcpEnabled"
:
"<boolean>"
,
"isEthernetEnabled"
:
"<boolean>"
,
"ipAddress"
:
"<string>"
,
"dns"
:
"<string>"
,
"gateway"
:
"<string>"
,
"mask"
:
"<string>"
}