Skip to content

Commit 3c2d740

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update Post an event v2 API description (DataDog#3437)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b36bf0c commit 3c2d740

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.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

api/datadogV2/api_events.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ type EventsApi datadog.Service
2020
//
2121
// **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.
2222
//
23+
// **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`).
24+
//
2325
// ✅ **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.
2426
//
2527
// ❌ 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)