/config/net/option

Options that have a system-wide effect on the network services.

Get /config/net/option

SecurityApiKey
Request
query Parameters
max-depth
integer >= 1

Limit output depth of the response. See Max-Depth.

Example: max-depth=2
filter
string

Response filter string. See Filter-Spec.

Example: filter={foo,bar}
Responses
200

Normal response.

401

Unauthorized response.

get/config/net/option
Request samples
Response samples
application/json
{
  • "result": {
    },
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/option

SecurityApiKey
Request
Request Body schema: application/json
secure_only
boolean (configNetOptionSecureOnly)

If true, network services which do not encrypt data are disabled. At present, turning on this option disables the following services:

  • The web-server's plain HTTP service (port 80).

  • The service that provides the meter data via link-type udp. Thus, it other meters will not be able to read this meters data via this link type anymore.

This resource is not updated transactionally and after changing its value, the web server will be unavailable temporarily.

Responses
200

Normal response.

401

Unauthorized response.

put/config/net/option
Request samples
application/json
{ }
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/option

SecurityApiKey
Request
Request Body schema: application/json
secure_only
boolean (configNetOptionSecureOnly)

If true, network services which do not encrypt data are disabled. At present, turning on this option disables the following services:

  • The web-server's plain HTTP service (port 80).

  • The service that provides the meter data via link-type udp. Thus, it other meters will not be able to read this meters data via this link type anymore.

This resource is not updated transactionally and after changing its value, the web server will be unavailable temporarily.

Responses
200

Normal response.

401

Unauthorized response.

post/config/net/option
Request samples
application/json
{ }
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/option

Reset to default. See the descriptions of the individual endpoints for their default values. Commonly, arrays and strings are cleared to empty, numbers are cleared to 0, and booleans are cleared to false.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/net/option
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}