changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "created_at": {
+ "description": "Date of creation for the entity",
+ "format": "date-time",
+ "type": "string"
+ },
+ "event": {
+ "description": "Name of the event that will trigger the execution of the alert rule",
+ "enum": [
+ "uptime.monitor.created",
+ "uptime.monitor.deleted",
+ "uptime.monitor_certificate.discovered",
+ "uptime.monitor_certificate.expiring",
+ "uptime.incident.created",
+ "uptime.incident.propagated",
+ "uptime.incident.partially_recovered",
+ "uptime.incident.recovered",
+ "uptime.incident_comment.created",
+ "uptime.incident_update.published",
+ "uptime.maintenance_window.in_progress",
+ "uptime.maintenance_window.completed",
+ "uptime.maintenance_window.cancelled"
+ ],
+ "type": "string"
+ },
+ "event_settings": {
+ "anyOf": [
+ {
+ "title": "Empty",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ {
+ "properties": {
+ "type": {
+ "description": "Type of incident to notify about",
+ "enum": [
+ "all",
+ "monitor",
+ "manual"
+ ],
+ "examples": [
+ "all"
+ ],
+ "type": "string"
+ }
+ },
+ "title": "Uptime incident",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "days_before_expiry": {
+ "description": "Days to notify before the certificate expires",
+ "examples": [
+ 25
+ ],
+ "type": "integer"
+ }
+ },
+ "title": "Uptime certificate expiring",
+ "type": "object"
+ }
+ ],
+ "description": "Additional settings for the event"
+ },
+ "id": {
+ "examples": [
+ 1
+ ],
+ "type": "integer"
+ },
+ "integration_id": {
+ "description": "The ID of the integration used to send a notification when the alert rule is executed",
+ "examples": [
+ 1
+ ],
+ "type": "integer"
+ },
+ "integration_settings": {
+ "anyOf": [
+ {
+ "title": "Empty",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ {
+ "properties": {
+ "priority": {
+ "description": "Notification priority level",
+ "enum": [
+ "min",
+ "low",
+ "default",
+ "high",
+ "max"
+ ],
+ "examples": [
+ "default"
+ ],
+ "type": "string"
+ }
+ },
+ "title": "Ntfy",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "schema": {
+ "description": "JSON schema defining the webhook payload structure",
+ "examples": [
+ "{\"id\": \"{{ alert_rule_request.id }}\", \"event\": \"{{ event.key }}\"}"
+ ],
+ "format": "json",
+ "type": "string"
+ }
+ },
+ "title": "Outgoing Webhooks",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "expire": {
+ "description": "Seconds after which an unacknowledged `emergency` priority notification stops repeating. Required by the `emergency` priority, unused by the others.",
+ "examples": [
+ 3600
+ ],
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "priority": {
+ "description": "Notification priority level",
+ "enum": [
+ "lowest",
+ "low",
+ "normal",
+ "high",
+ "emergency"
+ ],
+ "examples": [
+ "normal"
+ ],
+ "type": "string"
+ },
+ "retry": {
+ "description": "Seconds between the repeats of an `emergency` priority notification until it is acknowledged. Required by the `emergency` priority, unused by the others.",
+ "examples": [
+ 300
+ ],
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "title": "Pushover",
+ "type": "object"
+ }
+ ],
+ "description": "Additional settings for the integration"
+ },
+ "project_id": {
+ "description": "The ID of a project to use as a scope",
+ "examples": [
+ 1
+ ],
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "rate_limit": {
+ "description": "Minimum time in minutes between two executions of the alert rule, used to minimize the number of alerts received.",
+ "enum": [
+ 0,
+ 5,
+ 10,
+ 30,
+ 60,
+ 180,
+ 720,
+ 1440
+ ],
+ "examples": [
+ 5
+ ],
+ "type": "integer"
+ },
+ "updated_at": {
+ "description": "Date of last update for the entity",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}