Notifications testing service

Test Preset Config

Tests a notification preset configuration.

post/notifications/notification-center/v1/presets:testConfig

Request

  • Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
  • URL: https://api.eu1.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/presets:testConfig
  • Auth: API key in header Authorization

Request body

connectorIdstring

The connector id.

entitySubTypestring

Entity sub-type to use when testing the preset configuration.

entityType'ENTITY_TYPE_UNSPECIFIED' | 'ALERTS' | 'TEST_NOTIFICATIONS' | 'CASES' | 'OLLY_SCHEDULED_TASKS'

Entity type.

parentPresetIdstring

The parent preset id.

Example request

{
  "configOverrides": [
    {
      "messageConfig": {
        "fields": [
          {
            "fieldName": "title",
            "template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
          }
        ]
      }
    }
  ],
  "entitySubType": "metric"
}

Response

Changes

No recorded changes to this operation across all 1 revision of this API.