-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples of different types of notification handles (#25243)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
- Loading branch information
1 parent
dd7cf61
commit 17b1b64
Showing
5 changed files
with
666 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10567,6 +10567,13 @@ components: | |
notification_handles: | ||
description: Notification handles that will be notified of the incident | ||
at creation. | ||
example: | ||
- display_name: Jane Doe | ||
handle: '@[email protected]' | ||
- display_name: Slack Channel | ||
handle: '@slack-channel' | ||
- display_name: Incident Workflow | ||
handle: '@workflow-from-incident' | ||
items: | ||
$ref: '#/components/schemas/IncidentNotificationHandle' | ||
type: array | ||
|
@@ -10855,7 +10862,8 @@ components: | |
example: Jane Doe | ||
type: string | ||
handle: | ||
description: The email address used for the notification. | ||
description: The handle used for the notification. This includes an email | ||
address, Slack channel, or workflow. | ||
example: '@[email protected]' | ||
type: string | ||
type: object | ||
|
@@ -10968,6 +10976,13 @@ components: | |
notification_handles: | ||
description: Notification handles that will be notified of the incident | ||
during update. | ||
example: | ||
- display_name: Jane Doe | ||
handle: '@[email protected]' | ||
- display_name: Slack Channel | ||
handle: '@slack-channel' | ||
- display_name: Incident Workflow | ||
handle: '@workflow-from-incident' | ||
items: | ||
$ref: '#/components/schemas/IncidentNotificationHandle' | ||
nullable: true | ||
|
@@ -11937,6 +11952,13 @@ components: | |
notification_handles: | ||
description: Notification handles that will be notified of the incident | ||
during update. | ||
example: | ||
- display_name: Jane Doe | ||
handle: '@[email protected]' | ||
- display_name: Slack Channel | ||
handle: '@slack-channel' | ||
- display_name: Incident Workflow | ||
handle: '@workflow-from-incident' | ||
items: | ||
$ref: '#/components/schemas/IncidentNotificationHandle' | ||
type: array | ||
|
Oops, something went wrong.