curl --request GET \
--url https://api.coralogix.com/mgmt/openapi/3/notifications/notification-center/v1/routers/{id} \
--header 'Authorization: <api-key>'{
"router": {
"createTime": "2023-11-07T05:31:56Z",
"description": "<string>",
"entityLabelMatcher": {},
"entityLabels": {},
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"fallback": [
{
"connectorId": "<string>",
"customDetails": {},
"presetId": "<string>"
}
],
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Router",
"routingLabels": {
"environment": "<string>",
"service": "<string>",
"team": "<string>"
},
"rules": [
{
"condition": "alertDef.priority == 'P3'",
"customDetails": {},
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"name": "<string>",
"targets": [
{
"connectorId": "<string>",
"customDetails": {},
"presetId": "<string>"
}
]
}
],
"updateTime": "2023-11-07T05:31:56Z"
}
}No description available
curl --request GET \
--url https://api.coralogix.com/mgmt/openapi/3/notifications/notification-center/v1/routers/{id} \
--header 'Authorization: <api-key>'{
"router": {
"createTime": "2023-11-07T05:31:56Z",
"description": "<string>",
"entityLabelMatcher": {},
"entityLabels": {},
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"fallback": [
{
"connectorId": "<string>",
"customDetails": {},
"presetId": "<string>"
}
],
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Router",
"routingLabels": {
"environment": "<string>",
"service": "<string>",
"team": "<string>"
},
"rules": [
{
"condition": "alertDef.priority == 'P3'",
"customDetails": {},
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"name": "<string>",
"targets": [
{
"connectorId": "<string>",
"customDetails": {},
"presetId": "<string>"
}
]
}
],
"updateTime": "2023-11-07T05:31:56Z"
}
}API key authentication
Response containing a requested global router
Defines a set of pre-configured routing rules for directing notifications
Show child attributes
Was this page helpful?