Skip to content

Commit 2144582

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit deafda3 of spec repo
1 parent fd9e312 commit 2144582

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-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/datadogV2/api/api_events.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ impl EventsAPI {
181181
///
182182
/// **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.
183183
///
184+
/// **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`>).
185+
///
184186
/// ✅ **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.
185187
///
186188
/// ❌ For use cases involving other event categories, use the V1 endpoint or reach out to [support](<https://www.datadoghq.com/support/>).
@@ -209,6 +211,8 @@ impl EventsAPI {
209211
///
210212
/// **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.
211213
///
214+
/// **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`>).
215+
///
212216
/// ✅ **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.
213217
///
214218
/// ❌ For use cases involving other event categories, use the V1 endpoint or reach out to [support](<https://www.datadoghq.com/support/>).

0 commit comments

Comments
 (0)