preview_suppression_rule
Report what a suppression rule would hide, without adding it. To see what a rule would hide before creating it, call preview_suppression_rule with the field and value, read the sample, call it again with page=1 and the same field and value for the issues that follow when issuesMatched is larger than the page, then call create_suppression_rule with the same field and value. Do the same with update_suppression_rule when moving a rule to another value. The answer holds the issues the value matches, how many of those were seen in the last day, how many notifications it would have withheld in the last week, and one page of matching issues, most recently seen first, so the sample can be read back to the person before anything is silenced. An ENVIRONMENT preview counts the candidate environment together with the rules the account already holds, so it reports what saving would hide rather than what today's rules hide. Nothing is stored and no issue changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of matching issues to read, 0 or greater (default 0) | |
| size | No | Issues per page, 1..50 (default 10) | |
| field | Yes | SERVICE, ENVIRONMENT, EXCEPTION_TYPE or TITLE | |
| value | Yes | The literal value to match, 1 to 200 characters |