API: notifications
GET /api/notifications/channels#
List Channels
Berechtigung notifications.read (ansehen)
Antwort 200 NotificationChannelRead[]
8 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
channel_type * | "ntfy" | "gotify" | "telegram" | "teams" | "matrix" | |
config * | map<string, any> | |
created_at * | string (date-time) | |
enabled * | boolean | |
id * | string (uuid) | |
name * | string | |
secret_set * | boolean | |
updated_at * | string (date-time) |
POST /api/notifications/channels#
Create Channel
Berechtigung settings.write (verwalten)
Anfrage-Body NotificationChannelCreate
5 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
channel_type * | "ntfy" | "gotify" | "telegram" | "teams" | "matrix" | |
config | map<string, any> | |
enabled | boolean | default: true |
name * | string | minLength 1, maxLength 100 |
secret | string | null |
Antwort 201 NotificationChannelRead
8 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
channel_type * | "ntfy" | "gotify" | "telegram" | "teams" | "matrix" | |
config * | map<string, any> | |
created_at * | string (date-time) | |
enabled * | boolean | |
id * | string (uuid) | |
name * | string | |
secret_set * | boolean | |
updated_at * | string (date-time) |
PUT /api/notifications/channels/{channel_id}#
Update Channel
Berechtigung settings.write (verwalten)
Parameter
channel_id * | path | string (uuid) |
Anfrage-Body NotificationChannelUpdate
6 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
clear_secret | boolean | default: false |
config | map<string, any> | null | |
enabled | boolean | null | |
expected_updated_at | string (date-time) | null | |
name | string | null | |
secret | string | null |
Antwort 200 NotificationChannelRead
8 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
channel_type * | "ntfy" | "gotify" | "telegram" | "teams" | "matrix" | |
config * | map<string, any> | |
created_at * | string (date-time) | |
enabled * | boolean | |
id * | string (uuid) | |
name * | string | |
secret_set * | boolean | |
updated_at * | string (date-time) |
DELETE /api/notifications/channels/{channel_id}#
Delete Channel
Berechtigung settings.write (verwalten)
Parameter
channel_id * | path | string (uuid) |
Antwort 204
POST /api/notifications/channels/{channel_id}/test#
Test Channel
Berechtigung settings.write (verwalten)
Parameter
channel_id * | path | string (uuid) |
Antwort 200
GET /api/notifications/problems#
List Problems
Berechtigung notifications.read (ansehen)
Parameter
include_resolved | query | boolean | |
limit | query | integer |
Antwort 200 NotificationProblemRead[]
9 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
context * | map<string, any> | |
first_detected_at * | string (date-time) | |
id * | string (uuid) | |
last_notified_at * | string (date-time) | null | |
last_seen_at * | string (date-time) | |
problem_type * | "host_offline" | "cert_expiry" | "rule_drift" | "revert_failed" | "maintenance_unknown" | "carp_split_brain" | "nat_drift" | "carp_auto_revert_failed" | "network_drift" | "scheduled_maintenance_failed" | "backup_stale" | "backup_offsite_failed" | "compliance_finding" | "gateway_down" | "resource_threshold" | "service_down" | "api_rights_missing" | "server_disk" | "rollout_paused" | "rollout_start_failed" | "ha_standby_down" | "ha_replication_lag" | "ha_slot_retention" | "ha_sync_stale" | "ha_split_brain" | "ha_agent_down" | |
resolved_at * | string (date-time) | null | |
resolved_notified_at * | string (date-time) | null | |
status * | "open" | "resolved" |
GET /api/notifications/settings#
Read Settings
Berechtigung notifications.read (ansehen)
Antwort 200 NotificationSettingsRead
44 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
alert_confirm_samples | integer | default: 3 |
api_rights_enabled | boolean | default: true |
backup_failed_enabled | boolean | default: true |
carp_auto_revert_failed_enabled * | boolean | |
carp_health_enabled * | boolean | |
cert_expiring_enabled * | boolean | |
compliance_alerts_enabled | boolean | default: false |
disk_threshold_pct | integer | default: 90 |
email_enabled * | boolean | |
gateway_alert_muted | string[] | |
gateway_delay_threshold_ms | integer | default: 500 |
gateway_down_enabled | boolean | default: true |
gateway_loss_threshold_pct | integer | default: 20 |
ha_alerts_enabled | boolean | default: true |
host_offline_enabled * | boolean | |
language | "auto" | "de" | "en" | default: "auto" |
load_per_cpu_threshold | number | default: 2 |
maintenance_unknown_enabled * | boolean | |
memory_threshold_pct | integer | default: 95 |
nat_drift_enabled * | boolean | |
network_drift_enabled | boolean | default: true |
poll_interval_seconds * | integer | |
resource_confirm_samples | integer | default: 5 |
resource_threshold_enabled | boolean | default: false |
revert_failed_enabled * | boolean | |
rollout_problems_enabled | boolean | default: true |
rule_drift_enabled * | boolean | |
scheduled_maintenance_failed_enabled | boolean | default: true |
server_disk_enabled | boolean | default: true |
server_disk_threshold_pct | integer | default: 90 |
service_down_enabled | boolean | default: false |
service_watchlist | string[] | |
smtp_from_address * | string | null | |
smtp_host * | string | null | |
smtp_password_set * | boolean | |
smtp_port * | integer | |
smtp_security * | "none" | "starttls" | "ssl" | |
smtp_to_addresses * | string[] | |
smtp_username * | string | null | |
swap_threshold_pct | integer | default: 50 |
updated_at * | string (date-time) | |
webhook_enabled * | boolean | |
webhook_signing_secret_set * | boolean | |
webhook_url * | string | null |
PUT /api/notifications/settings#
Update Settings
Berechtigung settings.write (verwalten)
Anfrage-Body NotificationSettingsUpdate
44 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
alert_confirm_samples | integer | null | |
api_rights_enabled | boolean | null | |
backup_failed_enabled | boolean | null | |
carp_auto_revert_failed_enabled | boolean | null | |
carp_health_enabled | boolean | null | |
cert_expiring_enabled | boolean | null | |
clear_smtp_password | boolean | default: false |
clear_webhook_signing_secret | boolean | default: false |
compliance_alerts_enabled | boolean | null | |
disk_threshold_pct | integer | null | |
email_enabled | boolean | null | |
gateway_delay_threshold_ms | integer | null | |
gateway_down_enabled | boolean | null | |
gateway_loss_threshold_pct | integer | null | |
ha_alerts_enabled | boolean | null | |
host_offline_enabled | boolean | null | |
language | "auto" | "de" | "en" | null | |
load_per_cpu_threshold | number | null | |
maintenance_unknown_enabled | boolean | null | |
memory_threshold_pct | integer | null | |
nat_drift_enabled | boolean | null | |
network_drift_enabled | boolean | null | |
poll_interval_seconds | integer | null | |
resource_confirm_samples | integer | null | |
resource_threshold_enabled | boolean | null | |
revert_failed_enabled | boolean | null | |
rollout_problems_enabled | boolean | null | |
rule_drift_enabled | boolean | null | |
scheduled_maintenance_failed_enabled | boolean | null | |
server_disk_enabled | boolean | null | |
server_disk_threshold_pct | integer | null | |
service_down_enabled | boolean | null | |
service_watchlist | string[] | null | |
smtp_from_address | string | null | |
smtp_host | string | null | |
smtp_password | string | null | |
smtp_port | integer | null | |
smtp_security | "none" | "starttls" | "ssl" | null | |
smtp_to_addresses | string[] | null | |
smtp_username | string | null | |
swap_threshold_pct | integer | null | |
webhook_enabled | boolean | null | |
webhook_signing_secret | string | null | |
webhook_url | string | null |
Antwort 200 NotificationSettingsRead
44 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
alert_confirm_samples | integer | default: 3 |
api_rights_enabled | boolean | default: true |
backup_failed_enabled | boolean | default: true |
carp_auto_revert_failed_enabled * | boolean | |
carp_health_enabled * | boolean | |
cert_expiring_enabled * | boolean | |
compliance_alerts_enabled | boolean | default: false |
disk_threshold_pct | integer | default: 90 |
email_enabled * | boolean | |
gateway_alert_muted | string[] | |
gateway_delay_threshold_ms | integer | default: 500 |
gateway_down_enabled | boolean | default: true |
gateway_loss_threshold_pct | integer | default: 20 |
ha_alerts_enabled | boolean | default: true |
host_offline_enabled * | boolean | |
language | "auto" | "de" | "en" | default: "auto" |
load_per_cpu_threshold | number | default: 2 |
maintenance_unknown_enabled * | boolean | |
memory_threshold_pct | integer | default: 95 |
nat_drift_enabled * | boolean | |
network_drift_enabled | boolean | default: true |
poll_interval_seconds * | integer | |
resource_confirm_samples | integer | default: 5 |
resource_threshold_enabled | boolean | default: false |
revert_failed_enabled * | boolean | |
rollout_problems_enabled | boolean | default: true |
rule_drift_enabled * | boolean | |
scheduled_maintenance_failed_enabled | boolean | default: true |
server_disk_enabled | boolean | default: true |
server_disk_threshold_pct | integer | default: 90 |
service_down_enabled | boolean | default: false |
service_watchlist | string[] | |
smtp_from_address * | string | null | |
smtp_host * | string | null | |
smtp_password_set * | boolean | |
smtp_port * | integer | |
smtp_security * | "none" | "starttls" | "ssl" | |
smtp_to_addresses * | string[] | |
smtp_username * | string | null | |
swap_threshold_pct | integer | default: 50 |
updated_at * | string (date-time) | |
webhook_enabled * | boolean | |
webhook_signing_secret_set * | boolean | |
webhook_url * | string | null |
POST /api/notifications/test#
Test Notification
Berechtigung settings.write (verwalten)
Anfrage-Body TestNotificationRequest
1 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
channel * | "webhook" | "email" |