Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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 18:27:46.210937",
"spec_repo_commit": "a179b579"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:25.575458",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 18:27:46.225187",
"spec_repo_commit": "a179b579"
}
}
}
10 changes: 4 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 in General Availability. See [Change Tracking](https://docs.datadoghq.com/change_tracking)
for more details.\n\n\u274C For use cases involving other event categories,
please use the V1 endpoint."
operationId: CreateEvent
requestBody:
content:
Expand Down
8 changes: 6 additions & 2 deletions src/datadogV2/api/api_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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](<https://docs.datadoghq.com/change_tracking>) for further details.
/// ✅ **Only events with the `change` category** are in General Availability. See [Change Tracking](<https://docs.datadoghq.com/change_tracking>) for more details.
///
/// ❌ For use cases involving other event categories, please use the V1 endpoint.
pub async fn create_event(
&self,
body: crate::datadogV2::model::EventCreateRequestPayload,
Expand All @@ -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](<https://docs.datadoghq.com/change_tracking>) for further details.
/// ✅ **Only events with the `change` category** are in General Availability. See [Change Tracking](<https://docs.datadoghq.com/change_tracking>) for more 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,
Expand Down
Loading