/config/net/http

Web (HTTP) related configurations.

Modification requests (PUT, POST, and DELETE) to this resource are not executed transactionally.

Get /config/net/http

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/http
Request samples
Response samples
application/json
{
  • "result": {
    },
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/http

SecurityApiKey
Request
Request Body schema: application/json
object (configNetHttpClient)

Configuration for meter-initiated HTTP connections.

certificate
string (configNetHttpCertificate)

The certificate used by the web server to identify itself over HTTPS connections.

This resource is write-only.

The string is in PEM format and must contain both a private key as well as the matching certificate chain.

cgi-bin
string (configNetHttpCgiBin)

Controls access to CGI-BIN programs. The following values are supported:

  • disable: Completely disable access to CGI-BIN programs.

Warning This will render the classic user-interface of the meter inoperable.

  • user-required: Allow authenticated users to access CGI-BIN programs.

  • user-optional: Allow even unauthenticated users to access CGI-BIN programs that are not considered security critical.

Enum: "disable" "user-optional" "user-required"
Responses
200

Normal response.

401

Unauthorized response.

put/config/net/http
Request samples
application/json
{
  • "cgi-bin": "user-required",
  • "client": {
    }
}
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/http

SecurityApiKey
Request
Request Body schema: application/json
object (configNetHttpClient)

Configuration for meter-initiated HTTP connections.

certificate
string (configNetHttpCertificate)

The certificate used by the web server to identify itself over HTTPS connections.

This resource is write-only.

The string is in PEM format and must contain both a private key as well as the matching certificate chain.

cgi-bin
string (configNetHttpCgiBin)

Controls access to CGI-BIN programs. The following values are supported:

  • disable: Completely disable access to CGI-BIN programs.

Warning This will render the classic user-interface of the meter inoperable.

  • user-required: Allow authenticated users to access CGI-BIN programs.

  • user-optional: Allow even unauthenticated users to access CGI-BIN programs that are not considered security critical.

Enum: "disable" "user-optional" "user-required"
Responses
200

Normal response.

401

Unauthorized response.

post/config/net/http
Request samples
application/json
{
  • "cgi-bin": "user-required",
  • "client": {
    }
}
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/http

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/http
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}