Get All Notification Rules Using GET
Get all the Notification Rules defined in the system
Request
URI
GET
https://{api_host}/api/notifications/rules
COPY
Query Parameters
integer
page
Optional
Page number from which data needs to be displayed (0-based)
integer
pageSize
Optional
Expected number of entries per page
Responses
200
All the Notification Rules defined in the system
Returns notification-rules of type(s) application/json
{
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"pageInfo": {
"page": 0,
"pageSize": 0,
"sortBy": "string",
"sortOrder": "string",
"totalCount": 0
},
"rules": [
{
"alertControlStates": [
"string"
],
"alertDefinitionIdFilters": {
"values": [
"string"
]
},
"alertImpactFilters": {
"values": [
"string"
]
},
"alertStatuses": [
"string"
],
"alertTypeFilters": [
{
"alertSubTypes": [
0
],
"alertType": 0
}
],
"collectorGroupId": "string",
"collectorUUId": "string",
"criticalities": [
"string"
],
"id": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"name": "string",
"pluginId": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"resourceFilter": {
"childrenResourceKindFilters": [
"string"
],
"childrenResourceKindKeyFilters": [
{
"adapterKind": "string",
"resourceKind": "string"
}
],
"matchResourceIdOnly": false,
"relationship": "string",
"resourceId": "string"
},
"resourceFilters": [
{
"childrenResourceKindFilters": [
"string"
],
"childrenResourceKindKeyFilters": [
{
"adapterKind": "string",
"resourceKind": "string"
}
],
"matchResourceIdOnly": false,
"relationship": "string",
"resourceId": "string"
}
],
"resourceKindFilter": {
"adapterKind": "string",
"resourceKind": "string"
},
"resourceKindFilters": [
{
"adapterKind": "string",
"resourceKind": "string"
}
],
"templateId": "string"
}
]
}
500
There was an error while returning all the Notification Rules defined in the system
Operation doesn't return any data structure
Notifications Operations
POST
Create Email Template Using POST
Deprecated
POST
Create Notification Plugin Rule Using POST
DELETE
Delete Email Template Using DELETE
Deprecated
DELETE
Delete Notification Plugin Rules Using DELETE
GET
Get All Notification Rules Using GET
GET
Get Email Conditions Using GET
Deprecated
GET
Get Email Template Using GET
Deprecated
GET
Get Notification Rule Using GET
GET
Query Email Templates Using GET
Deprecated
POST
Set Email Condition Using POST
Deprecated
DELETE
Unset Email Condition Using DELETE
Deprecated
PUT
Update Email Template Using PUT
Deprecated
PUT
Update Notification Plugin Rule Using PUT