Skip to content

Commit

Permalink
Link to change tracking in post event docs (#2800)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 25, 2024
1 parent 39aeede commit aa92b19
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 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-11-22 16:27:52.073802",
"spec_repo_commit": "5b0e59c5"
"regenerated": "2024-11-25 11:57:21.839727",
"spec_repo_commit": "80b43a3b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-22 16:27:52.093118",
"spec_repo_commit": "5b0e59c5"
"regenerated": "2024-11-25 11:57:21.859388",
"spec_repo_commit": "80b43a3b"
}
}
}
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31437,8 +31437,12 @@ paths:
permissions:
- events_read
post:
description: This endpoint allows you to post events. Only events with `change`
category are under General Availability.
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.'
operationId: CreateEvent
requestBody:
content:
Expand Down
4 changes: 3 additions & 1 deletion api/datadogV2/api_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import (
type EventsApi datadog.Service

// CreateEvent Post an event.
// This endpoint allows you to post events. Only events with `change` category are under General Availability.
// 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.
func (a *EventsApi) CreateEvent(ctx _context.Context, body EventCreateRequestPayload) (EventCreateResponsePayload, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down

0 comments on commit aa92b19

Please sign in to comment.