Skip to content

Commit

Permalink
[ECT-2482] Improve documentation to redirect common events usage to V…
Browse files Browse the repository at this point in the history
…1 endpoint (#2621)

Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Dec 16, 2024
1 parent 1704b56 commit c2732e8
Show file tree
Hide file tree
Showing 71 changed files with 93 additions and 93 deletions.
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.530948",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 18:27:49.012621",
"spec_repo_commit": "a179b579"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:25.549581",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 18:27:49.028559",
"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: 5 additions & 3 deletions src/main/java/com/datadog/api/client/v2/api/EventsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ public CompletableFuture<EventCreateResponsePayload> createEventAsync(
/**
* This endpoint allows you to post events.
*
* <p>Only events with <strong><code>change</code> category</strong> are under General
* Availability. Refer to <a href="https://docs.datadoghq.com/change_tracking">Change Tracking</a>
* for further details.
* <p>✅ <strong>Only events with the <code>change</code> category</strong> are in General
* Availability. See <a href="https://docs.datadoghq.com/change_tracking">Change Tracking</a> for
* more details.
*
* <p>❌ For use cases involving other event categories, please use the V1 endpoint.
*
* @param body Event request object (required)
* @return ApiResponse&lt;EventCreateResponsePayload&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "c206b9cd-771e-14f0-5d18-42a3a48556ce"
"id": "c206b9cd-771e-14f0-5d18-42a3a48556cf"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"timeToLive": {
"unlimited": true
},
"id": "c206b9cd-771e-14f0-5d18-42a3a48556d1"
"id": "c206b9cd-771e-14f0-5d18-42a3a48556d0"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
},
{
"httpRequest": {
Expand All @@ -53,7 +53,7 @@
"timeToLive": {
"unlimited": true
},
"id": "ab2123e3-6fb5-0f90-fe98-365e086c9c6f"
"id": "ab2123e3-6fb5-0f90-fe98-365e086c9c6e"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "101a55f5-5a26-d616-5fb4-8d0451d83d11"
"id": "101a55f5-5a26-d616-5fb4-8d0451d83d10"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10"
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"timeToLive": {
"unlimited": true
},
"id": "6796bfb2-5496-6f6a-d702-4bc629b25991"
"id": "6796bfb2-5496-6f6a-d702-4bc629b25992"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a97"
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a94"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a99"
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a91"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a94"
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a98"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a8e"
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a92"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "6bb82102-e994-f0d1-ee96-e1e3f1d81000"
"id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffe"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "599b5d26-fcc8-db18-1a6e-dfc958964914"
"id": "599b5d26-fcc8-db18-1a6e-dfc958964915"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timeToLive": {
"unlimited": true
},
"id": "01611a93-5e74-0630-3c51-f707c3b51e82"
"id": "01611a93-5e74-0630-3c51-f707c3b51e7c"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timeToLive": {
"unlimited": true
},
"id": "01611a93-5e74-0630-3c51-f707c3b51e7b"
"id": "01611a93-5e74-0630-3c51-f707c3b51e7f"
},
{
"httpRequest": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"timeToLive": {
"unlimited": true
},
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed15b"
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed15d"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timeToLive": {
"unlimited": true
},
"id": "01611a93-5e74-0630-3c51-f707c3b51e7e"
"id": "01611a93-5e74-0630-3c51-f707c3b51e82"
},
{
"httpRequest": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"timeToLive": {
"unlimited": true
},
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed15d"
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed160"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "c206b9cd-771e-14f0-5d18-42a3a48556cf"
"id": "c206b9cd-771e-14f0-5d18-42a3a48556ce"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "cd59362c-7df2-d349-9880-5b5536151a0b"
"id": "cd59362c-7df2-d349-9880-5b5536151a0a"
},
{
"httpRequest": {
Expand Down Expand Up @@ -57,7 +57,7 @@
"timeToLive": {
"unlimited": true
},
"id": "c206b9cd-771e-14f0-5d18-42a3a48556d0"
"id": "c206b9cd-771e-14f0-5d18-42a3a48556d1"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timeToLive": {
"unlimited": true
},
"id": "ab2c08c1-60c7-9278-3246-d650bb89216f"
"id": "ab2c08c1-60c7-9278-3246-d650bb89216e"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "599b5d26-fcc8-db18-1a6e-dfc958964916"
"id": "599b5d26-fcc8-db18-1a6e-dfc958964914"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timeToLive": {
"unlimited": true
},
"id": "01611a93-5e74-0630-3c51-f707c3b51e80"
"id": "01611a93-5e74-0630-3c51-f707c3b51e7a"
},
{
"httpRequest": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"timeToLive": {
"unlimited": true
},
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed15f"
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed15a"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timeToLive": {
"unlimited": true
},
"id": "01611a93-5e74-0630-3c51-f707c3b51e78"
"id": "01611a93-5e74-0630-3c51-f707c3b51e83"
},
{
"httpRequest": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"timeToLive": {
"unlimited": true
},
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed158"
"id": "33fa4a39-57ef-afdd-007a-0db82f7ed161"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699"
"id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "cd59362c-7df2-d349-9880-5b5536151a09"
"id": "cd59362c-7df2-d349-9880-5b5536151a08"
},
{
"httpRequest": {
Expand All @@ -53,7 +53,7 @@
"timeToLive": {
"unlimited": true
},
"id": "ab2123e3-6fb5-0f90-fe98-365e086c9c6e"
"id": "ab2123e3-6fb5-0f90-fe98-365e086c9c6f"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1"
"id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b"
"id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698"
},
{
"httpRequest": {
Expand Down
Loading

0 comments on commit c2732e8

Please sign in to comment.