Skip to content

Commit

Permalink
Update Event description (#2501)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored May 30, 2024
1 parent c37326c commit 8e345dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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-05-29 17:07:15.844202",
"spec_repo_commit": "faa2d929"
"regenerated": "2024-05-29 19:12:56.889483",
"spec_repo_commit": "e834e6d7"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-05-29 17:07:15.862433",
"spec_repo_commit": "faa2d929"
"regenerated": "2024-05-29 19:12:56.907973",
"spec_repo_commit": "e834e6d7"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2197,7 +2197,7 @@ components:
description: 'POSIX timestamp of the event. Must be sent as an integer (that
is no quotes).

Limited to events no older than 18 hours.'
Limited to events up to 18 hours in the past and two hours in the future.'
format: int64
type: integer
device_name:
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Event struct {
// `recommendation`, and `snapshot`.
AlertType *EventAlertType `json:"alert_type,omitempty"`
// POSIX timestamp of the event. Must be sent as an integer (that is no quotes).
// Limited to events no older than 18 hours.
// Limited to events up to 18 hours in the past and two hours in the future.
DateHappened *int64 `json:"date_happened,omitempty"`
// A device name.
DeviceName *string `json:"device_name,omitempty"`
Expand Down

0 comments on commit 8e345dd

Please sign in to comment.