Skip to content

Commit 3b365b5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit aa13f77 of spec repo (#3380)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 4762a62 commit 3b365b5

File tree

2 files changed

+38
-7
lines changed

2 files changed

+38
-7
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70290,15 +70290,49 @@ paths:
7029070290
events with the `change` or `alert` category** are in General Availability.
7029170291
For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking)
7029270292
for more details.\n\n\u274C For use cases involving other event categories,
70293-
use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/).\n\n\u274C
70294-
Notifications are not yet supported for events sent to this endpoint. Use
70295-
the V1 endpoint for notification functionality."
70293+
use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/)."
7029670294
operationId: CreateEvent
7029770295
requestBody:
7029870296
content:
7029970297
application/json:
7030070298
examples:
70301-
json-request-body:
70299+
alert-event:
70300+
description: Example of an alert event for tracking alerts and monitoring
70301+
events.
70302+
summary: Alert Event
70303+
value:
70304+
data:
70305+
attributes:
70306+
aggregation_key: deduplication_key_here
70307+
attributes:
70308+
custom:
70309+
my-object-attribute:
70310+
my-array-attribute:
70311+
- 1
70312+
- 2
70313+
- 3
70314+
my-array-object-attribute:
70315+
- name: test-object-1
70316+
- name: test-object-2
70317+
my-integer-attribute: 1
70318+
my-string-attribute: my-custom-value
70319+
links:
70320+
- category: runbook
70321+
title: Datadog website
70322+
url: https://datadoghq.com
70323+
priority: '1'
70324+
status: error
70325+
category: alert
70326+
message: Something is broken!
70327+
tags:
70328+
- service:my-test-service
70329+
- datacenter:primary
70330+
title: My Alerting Event
70331+
type: event
70332+
change-event:
70333+
description: Example of a change event for tracking configuration
70334+
or feature flag changes.
70335+
summary: Change Event
7030270336
value:
7030370337
data:
7030470338
attributes:

src/main/java/com/datadog/api/client/v2/api/EventsApi.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ public CompletableFuture<EventCreateResponsePayload> createEventAsync(
103103
* <p>❌ For use cases involving other event categories, use the V1 endpoint or reach out to <a
104104
* href="https://www.datadoghq.com/support/">support</a>.
105105
*
106-
* <p>❌ Notifications are not yet supported for events sent to this endpoint. Use the V1 endpoint
107-
* for notification functionality.
108-
*
109106
* @param body Event creation request payload. (required)
110107
* @return ApiResponse&lt;EventCreateResponsePayload&gt;
111108
* @throws ApiException if fails to make API call

0 commit comments

Comments
 (0)