Skip to content

Commit 0fae669

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

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

services/events/src/v2/EventsApi.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,8 @@ export class EventsApi {
639639
*
640640
* **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.
641641
*
642+
* **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`).
643+
*
642644
* ✅ **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.
643645
*
644646
* ❌ 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)