Global routers service
Create Global Router
Creates a new notification router.
post/notifications/notification-center/v1/routers
Request
- Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
- URL: https://api.eu1.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/routers
- Auth: API key in header Authorization
Request body
Example request
{
"router": {
"fallback": [
{
"id": "d4b56246-64bb-4714-a8bd-97c999f1d801"
}
],
"fallbackTargets": [
{
"target": {
"id": "d4b56246-64bb-4714-a8bd-97c999f1d801"
}
}
],
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Router",
"rules": [
{
"condition": "alertDef.priority == 'P3'",
"targets": [
{
"id": "d4b56246-64bb-4714-a8bd-97c999f1d801"
}
]
}
]
}
}Response
Example response
{
"router": {
"fallback": [
{
"id": "d4b56246-64bb-4714-a8bd-97c999f1d801"
}
],
"fallbackTargets": [
{
"target": {
"id": "d4b56246-64bb-4714-a8bd-97c999f1d801"
}
}
],
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Router",
"rules": [
{
"condition": "alertDef.priority == 'P3'",
"targets": [
{
"id": "d4b56246-64bb-4714-a8bd-97c999f1d801"
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.