Skip to content

Commit

Permalink
Add examples of different types of notification handles (#25243)
Browse files Browse the repository at this point in the history
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
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Sep 13, 2024
1 parent dd7cf61 commit 17b1b64
Show file tree
Hide file tree
Showing 5 changed files with 666 additions and 56 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-13 13:33:02.826328",
"spec_repo_commit": "bee8c3e1"
"regenerated": "2024-09-13 20:36:57.464961",
"spec_repo_commit": "6093038f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-13 13:33:10.904360",
"spec_repo_commit": "bee8c3e1"
"regenerated": "2024-09-13 20:37:05.751647",
"spec_repo_commit": "6093038f"
}
}
}
14 changes: 7 additions & 7 deletions content/en/api/v2/incidents/examples.json

Large diffs are not rendered by default.

24 changes: 23 additions & 1 deletion data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit 17b1b64

Please sign in to comment.