The alert reporting configuration. Alerts may be reported via a web server or via an email server.
Normal response.
Unauthorized response.
{- "result": {
- "web": {
- "min-priority": 7,
- "service": "",
- "options": "gzip,secure",
- "user": "jsmith",
- "password": "secret!"
}, - "mail": {
- "server": "smtp.mail.com",
- "user": "egaugealert@mail.com",
- "password": "string",
- "from-address": "eGauge1345",
- "to": [
- {
- "format": "string",
- "min-priority": 3,
- "address": "user@site.com"
}
]
}
}, - "error": "Error message (present if an error occurred)."
}
object (configAlertReporterWeb) The configuration for reporting alerts via web server. | |
object (configAlertReporterMail) The configuration for reporting alerts via email server. If alert reporting via web server is enabled (/config/alert/reporter/web/uri is not empty), reporting via email server is disabled. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
object (configAlertReporterWeb) The configuration for reporting alerts via web server. | |
object (configAlertReporterMail) The configuration for reporting alerts via email server. If alert reporting via web server is enabled (/config/alert/reporter/web/uri is not empty), reporting via email server is disabled. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Reset to default (reporting disabled).
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}