/config/alert/reporter/web/options

The options to use when sending an alert report to the web server.

This resource is available only if /config/alert/reporter/web/service is an empty string.

Multiple options can be specified in the string by separating them with a comma. Supported options are:

  • deflate: Use HTTP Content-Encoding deflate when transmitting the alert report.

  • gzip: Use HTTP Content-Encoding gzip when transmitting the alert report.

  • secure: Only send the alert report if the server's HTTP certificate can be verified by the meter. This option is ignored if /config/net/http/client/insecure is true.

Get /config/alert/reporter/web/options

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

get/config/alert/reporter/web/options
Request samples
Response samples
application/json
{
  • "result": "gzip,secure",
  • "error": "Error message (present if an error occurred)."
}

Replace /config/alert/reporter/web/options

SecurityApiKey
Request
Request Body schema: application/json
string (configAlertReporterWebOptions)

The options to use when sending an alert report to the web server.

This resource is available only if /config/alert/reporter/web/service is an empty string.

Multiple options can be specified in the string by separating them with a comma. Supported options are:

  • deflate: Use HTTP Content-Encoding deflate when transmitting the alert report.

  • gzip: Use HTTP Content-Encoding gzip when transmitting the alert report.

  • secure: Only send the alert report if the server's HTTP certificate can be verified by the meter. This option is ignored if /config/net/http/client/insecure is true.

Responses
200

Normal response.

401

Unauthorized response.

put/config/alert/reporter/web/options
Request samples
application/json
"gzip,secure"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/alert/reporter/web/options

SecurityApiKey
Request
Request Body schema: application/json
string (configAlertReporterWebOptions)

The options to use when sending an alert report to the web server.

This resource is available only if /config/alert/reporter/web/service is an empty string.

Multiple options can be specified in the string by separating them with a comma. Supported options are:

  • deflate: Use HTTP Content-Encoding deflate when transmitting the alert report.

  • gzip: Use HTTP Content-Encoding gzip when transmitting the alert report.

  • secure: Only send the alert report if the server's HTTP certificate can be verified by the meter. This option is ignored if /config/net/http/client/insecure is true.

Responses
200

Normal response.

401

Unauthorized response.

post/config/alert/reporter/web/options
Request samples
application/json
"gzip,secure"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/alert/reporter/web/options

Reset to empty string.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

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