diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 93efc78e5a9..2c340a95bd1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -62513,8 +62513,12 @@ paths: description: "This endpoint allows you to publish events.\n\n**Note:** To utilize this endpoint with our client libraries, please ensure you are using the latest version released on or after July 1, 2025. Earlier versions do not support - this functionality.\n\n\u2705 **Only events with the `change` or `alert` category** - are in General Availability. For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking) + this functionality.\n\n**Important:** Upgrade to the latest client library + version to use the updated endpoint at `https://event-management-intake.{site}/api/v2/events`. + Older client library versions of the Post an event (v2) API send requests + to a deprecated endpoint (`https://api.{site}/api/v2/events`).\n\n\u2705 **Only + events with the `change` or `alert` category** are in General Availability. + For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking) for more details.\n\n\u274C For use cases involving other event categories, use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/).\n\n\u274C Notifications are not yet supported for events sent to this endpoint. Use diff --git a/src/main/java/com/datadog/api/client/v2/api/EventsApi.java b/src/main/java/com/datadog/api/client/v2/api/EventsApi.java index 075c9a4f184..d814cd0177b 100644 --- a/src/main/java/com/datadog/api/client/v2/api/EventsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/EventsApi.java @@ -91,6 +91,11 @@ public CompletableFuture createEventAsync( * are using the latest version released on or after July 1, 2025. Earlier versions do not support * this functionality. * + *

Important: Upgrade to the latest client library version to use the updated + * endpoint at https://event-management-intake.{site}/api/v2/events. Older client + * library versions of the Post an event (v2) API send requests to a deprecated endpoint ( + * https://api.{site}/api/v2/events). + * *

Only events with the change or alert category * are in General Availability. For change events, see Change Tracking for more details.