OpsGenie · Schema

CreateNotificationRuleStepRequest

AlertsIncident ManagementMonitoringOn-CallOperations

Properties

Name Type Description
contact object Contact for the notification step.
sendAfter object Delay before sending.
enabled boolean Whether the step is enabled.
View JSON Schema on GitHub

JSON Schema

opsgenie-createnotificationrulesteprequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateNotificationRuleStepRequest",
  "title": "CreateNotificationRuleStepRequest",
  "type": "object",
  "required": [
    "contact"
  ],
  "properties": {
    "contact": {
      "type": "object",
      "required": [
        "method",
        "to"
      ],
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "email",
            "sms",
            "voice",
            "mobile"
          ],
          "description": "Notification delivery method."
        },
        "to": {
          "type": "string",
          "description": "Contact address."
        }
      },
      "description": "Contact for the notification step."
    },
    "sendAfter": {
      "type": "object",
      "properties": {
        "timeAmount": {
          "type": "integer",
          "description": "Time to wait."
        },
        "timeUnit": {
          "type": "string",
          "enum": [
            "minutes",
            "hours",
            "days"
          ],
          "description": "Time unit."
        }
      },
      "description": "Delay before sending."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the step is enabled."
    }
  }
}