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/lib/datadog_api_client/v2/api/events_api.rb b/lib/datadog_api_client/v2/api/events_api.rb index 51478b6fc5c..0d9f4667d44 100644 --- a/lib/datadog_api_client/v2/api/events_api.rb +++ b/lib/datadog_api_client/v2/api/events_api.rb @@ -37,6 +37,8 @@ def create_event(body, opts = {}) # # **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. # + # **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](https://docs.datadoghq.com/change_tracking) for more details. # # ❌ For use cases involving other event categories, use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/).