Skip to content

Commit 8a4fef6

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

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-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

lib/datadog_api_client/v2/api/events_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def create_event(body, opts = {})
3737
#
3838
# **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.
3939
#
40+
# **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`).
41+
#
4042
# ✅ **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.
4143
#
4244
# ❌ 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)