From 78a5abab9576523714fb09a9eacd8db2ffa14178 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 29 Oct 2025 13:36:36 +0000 Subject: [PATCH] Regenerate client from commit deafda3 of spec repo --- .generator/schemas/v2/openapi.yaml | 8 ++++++-- lib/datadog_api_client/v2/api/events_api.rb | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 93efc78e5a9c..2c340a95bd1b 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 51478b6fc5c7..0d9f4667d44c 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/).