GET/v1/notification/rule

Returns a list of all notification rules

Requires permission SYSTEM_CONFIGURATION or SYSTEM_CONFIGURATION_READ

7 parameters
pageNumberstringoptional
The page to return. To be used in conjunction with <code>pageSize</code>.
Default:1
pageSizestringoptional
Number of elements to return per page. To be used in conjunction with <code>pageNumber</code>.
Default:100
offsetstringoptional
Offset to start returning elements from. To be used in conjunction with <code>limit</code>.
limitstringoptional
Number of elements to return per page. To be used in conjunction with <code>offset</code>.
sortNamestringoptional
Name of the resource field to sort on.
sortOrderstringoptional
Ordering of items when sorting with <code>sortName</code>.
Allowed:asc, desc
triggerTypestringoptional
The notification trigger type to filter on
Allowed:EVENTSCHEDULE

2 status codes
200A list of all notification rules
enabledbooleanoptional
filterExpressionstringoptional
logSuccessfulPublishbooleanoptional
messagestringoptional
namestringrequired
notificationLevelstringoptional
Allowed:INFORMATIONALWARNINGERROR
notifyChildrenbooleanoptional
notifyOnarray<string>optional
projectsarray<object>optional
publisherobjectoptional
publisherConfigstringoptional
scheduleCronstringoptional
Schedule of this rule as cron expression. Must not be set for rules with trigger type EVENT.
scheduleLastTriggeredAtintegeroptional
When the schedule last triggered, as UNIX epoch timestamp in milliseconds
scheduleNextTriggerAtintegeroptional
When the schedule triggers next, as UNIX epoch timestamp in milliseconds
scheduleSkipUnchangedbooleanoptional
Whether to skip emitting a scheduled notification if it doesn't contain any changes since its last emission. Must not be set for rules with trigger type EVENT.
scopestringrequired
Allowed:SYSTEMPORTFOLIO
tagsarray<object>optional
teamsarray<object>optional
triggerTypestringrequired
Allowed:EVENTSCHEDULE
uuidstringrequired
401Unauthorized

Error handling

A 401 is returned: Unauthorized.