diff --git a/.apigentools-info b/.apigentools-info index cf1fe36dc..cfcdb0e18 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-13 16:09:25.555961", - "spec_repo_commit": "936a5463" + "regenerated": "2024-12-16 16:15:13.131301", + "spec_repo_commit": "97b88c51" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-13 16:09:25.575458", - "spec_repo_commit": "936a5463" + "regenerated": "2024-12-16 16:15:13.145626", + "spec_repo_commit": "97b88c51" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e07f73c38..62877e633 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31987,12 +31987,10 @@ paths: permissions: - events_read post: - description: 'This endpoint allows you to post events. - - - Only events with **`change` category** are under General Availability. Refer - to [Change Tracking](https://docs.datadoghq.com/change_tracking) for further - details.' + description: "This endpoint allows you to post events.\n\n\u2705 **Only events + with the `change` category** are under General Availability. Refer to [Change + Tracking](https://docs.datadoghq.com/change_tracking) for further details.\n\n\u274C + For use cases involving other event categories, please use the V1 endpoint." operationId: CreateEvent requestBody: content: diff --git a/src/datadogV2/api/api_events.rs b/src/datadogV2/api/api_events.rs index 3744a47eb..5e49027c4 100644 --- a/src/datadogV2/api/api_events.rs +++ b/src/datadogV2/api/api_events.rs @@ -170,7 +170,9 @@ impl EventsAPI { /// This endpoint allows you to post events. /// - /// Only events with **`change` category** are under General Availability. Refer to [Change Tracking]() for further details. + /// ✅ **Only events with the `change` category** are under General Availability. Refer to [Change Tracking]() for further details. + /// + /// ❌ For use cases involving other event categories, please use the V1 endpoint. pub async fn create_event( &self, body: crate::datadogV2::model::EventCreateRequestPayload, @@ -192,7 +194,9 @@ impl EventsAPI { /// This endpoint allows you to post events. /// - /// Only events with **`change` category** are under General Availability. Refer to [Change Tracking]() for further details. + /// ✅ **Only events with the `change` category** are under General Availability. Refer to [Change Tracking]() for further details. + /// + /// ❌ For use cases involving other event categories, please use the V1 endpoint. pub async fn create_event_with_http_info( &self, body: crate::datadogV2::model::EventCreateRequestPayload,