Test Template Render
POST
https://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/templates:testTests the rendering of a notification template.
Authorizations
Authorizationrequired
API key authentication
The value is a Coralogix API key. Create a personal or team API key and assign its permissions.
Request
Body
application/json
Request for testing notification template rendering.
entitySubType#string
Entity sub-type to use when testing template rendering.
Possible values: non-empty and <= 100 characters, Value must match regular expression ^[\s\S]*$
Example:
logsImmediateResolvedentityType#notification_center.EntityType
Entity type.
Possible values: [ENTITY_TYPE_UNSPECIFIED, ALERTS, TEST_NOTIFICATIONS, CASES]
template#string
Template string to test rendering for.
Possible values: <= 20000 characters, Value must match regular expression ^[\s\S]*$
Example:
{{ alertDef.name }}Response
application/json
Response containing the results of a notification template render test.