Test Routing Condition Valid
POST
https://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/routers:testConditionTests notification routing conditions.
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 to check that provided routing condition is valid
entityType#notification_center.EntityType
Entity type.
Possible values: [ENTITY_TYPE_UNSPECIFIED, ALERTS, TEST_NOTIFICATIONS, CASES]
template#string
Routing condition expression to validate.
Possible values: non-empty and <= 20000 characters, Value must match regular expression ^[\s\S]+$
Example:
alertDef.priority == 'P1'Response
application/json
Response which specifies condition evaluation result or error