-
Notifications
You must be signed in to change notification settings - Fork 43
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 (#2161)
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
ced8485
commit 80ee18b
Showing
4 changed files
with
32 additions
and
10 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
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 |
---|---|---|
|
@@ -10442,6 +10442,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 | ||
|
@@ -10728,7 +10735,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 | ||
|
@@ -10841,6 +10849,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 | ||
|
@@ -11808,6 +11823,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 | ||
|
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
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