March 2021
35
IDS NXT: REST interface
10.2 /network/ipv4
·
OPTIONS
·
GET
·
PATCH
{
"GET": {
"application/json": {
"Description": "Receive network IPv4 settings",
"Values": {
"Address": {
"Description": "Local IP-Address, valid for non-DHCP method only. Must
be of format \"xxx.xxx.xxx.xxx\"",
"Type": "String"
},
"DHCP": {
"Description": "If true, DHCP is used to obtain an IP address",
"Type": "Boolean"
},
"Gateway": {
"Description": "IP-Address of gateway, must be of format
\"xxx.xxx.xxx.xxx\"",
"Type": "String"
},
"Netmask": {
"Description": "Netmask, must be of format \"xxx.xxx.xxx.xxx\"",
"Type": "String"
}
}
}
},
Options [
],
"PATCH": {
"application/x-www-form-urlencoded": {
"Description": "Set network IPv4 settings",
"Values": {
"Address": {
"Description": "Local IP-Address, valid for non-DHCP method only. Must
be of format \"xxx.xxx.xxx.xxx\"",
"Type": "String"
},
"DHCP": {
"Description": "If true, DHCP is used to obtain an IP address",
"Type": "Boolean"
},
"Gateway": {
"Description": "IP-Address of gateway, must be of format
\"xxx.xxx.xxx.xxx\"",
"Type": "String"
},
"Netmask": {
"Description": "Netmask, must be of format \"xxx.xxx.xxx.xxx\"",
"Type": "String"
}