{
  "opencollection": "1.0.0",
  "info": {
    "name": "PureCloud Platform Agent Assistants Alerting API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "Alerting",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get an alert",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/:alertId",
            "params": [
              {
                "name": "alertId",
                "value": "",
                "type": "path",
                "description": "Alert ID"
              }
            ]
          },
          "docs": "Get an alert"
        },
        {
          "info": {
            "name": "Update an alert read status",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/:alertId",
            "params": [
              {
                "name": "alertId",
                "value": "",
                "type": "path",
                "description": "Alert ID"
              }
            ]
          },
          "docs": "Update an alert read status"
        },
        {
          "info": {
            "name": "Allows an entity to mute/snooze an alert or update the unread status of the alert.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/:alertId",
            "params": [
              {
                "name": "alertId",
                "value": "",
                "type": "path",
                "description": "Alert ID"
              }
            ]
          },
          "docs": "Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period.  Muting an alert will only block the notifications to individuals."
        },
        {
          "info": {
            "name": "Delete an alert",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/:alertId",
            "params": [
              {
                "name": "alertId",
                "value": "",
                "type": "path",
                "description": "Alert ID"
              }
            ]
          },
          "docs": "Delete an alert"
        },
        {
          "info": {
            "name": "Bulk alert updates",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/bulk"
          },
          "docs": "Bulk alert updates"
        },
        {
          "info": {
            "name": "Gets a paged list of alerts. The max page size is 50",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/query"
          },
          "docs": "Gets a paged list of alerts. The max page size is 50"
        },
        {
          "info": {
            "name": "Updates all alerts",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/all"
          },
          "docs": "Updates all alerts"
        },
        {
          "info": {
            "name": "Delete all alerts for the user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v2/alerting/alerts/all"
          },
          "docs": "Delete all alerts for the user"
        },
        {
          "info": {
            "name": "Get a rule.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/alerting/rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "Rule Id"
              }
            ]
          },
          "docs": "Get a rule."
        },
        {
          "info": {
            "name": "Update a rule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/alerting/rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "Rule Id"
              }
            ]
          },
          "docs": "Update a rule"
        },
        {
          "info": {
            "name": "Delete a rule.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v2/alerting/rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "Rule Id"
              }
            ]
          },
          "docs": "Delete a rule."
        },
        {
          "info": {
            "name": "Bulk update of notification lists",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/v2/alerting/rules/bulk"
          },
          "docs": "Bulk update of notification lists"
        },
        {
          "info": {
            "name": "Bulk remove rules",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/alerting/rules/bulk/remove"
          },
          "docs": "Bulk remove rules"
        },
        {
          "info": {
            "name": "Get a paged list of rules.  The max size of the page is 50 items.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/alerting/rules/query"
          },
          "docs": "Get a paged list of rules.  The max size of the page is 50 items."
        },
        {
          "info": {
            "name": "Create a Rule.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/alerting/rules"
          },
          "docs": "Create a Rule."
        }
      ]
    }
  ],
  "bundled": true
}