Skip to content

Commit b597960

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update Post an event v2 API description (#3222)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 7d67834 commit b597960

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62513,8 +62513,12 @@ paths:
6251362513
description: "This endpoint allows you to publish events.\n\n**Note:** To utilize
6251462514
this endpoint with our client libraries, please ensure you are using the latest
6251562515
version released on or after July 1, 2025. Earlier versions do not support
62516-
this functionality.\n\n\u2705 **Only events with the `change` or `alert` category**
62517-
are in General Availability. For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking)
62516+
this functionality.\n\n**Important:** Upgrade to the latest client library
62517+
version to use the updated endpoint at `https://event-management-intake.{site}/api/v2/events`.
62518+
Older client library versions of the Post an event (v2) API send requests
62519+
to a deprecated endpoint (`https://api.{site}/api/v2/events`).\n\n\u2705 **Only
62520+
events with the `change` or `alert` category** are in General Availability.
62521+
For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking)
6251862522
for more details.\n\n\u274C For use cases involving other event categories,
6251962523
use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/).\n\n\u274C
6252062524
Notifications are not yet supported for events sent to this endpoint. Use

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ public CompletableFuture<EventCreateResponsePayload> createEventAsync(
9191
* are using the latest version released on or after July 1, 2025. Earlier versions do not support
9292
* this functionality.
9393
*
94+
* <p><strong>Important:</strong> Upgrade to the latest client library version to use the updated
95+
* endpoint at <code>https://event-management-intake.{site}/api/v2/events</code>. Older client
96+
* library versions of the Post an event (v2) API send requests to a deprecated endpoint (<code>
97+
* https://api.{site}/api/v2/events</code>).
98+
*
9499
* <p>✅ <strong>Only events with the <code>change</code> or <code>alert</code> category</strong>
95100
* are in General Availability. For change events, see <a
96101
* href="https://docs.datadoghq.com/change_tracking">Change Tracking</a> for more details.

0 commit comments

Comments
 (0)