Skip to content

Commit 799a10c

Browse files
authored
fix(specs): insights-api timestamp documentation (#5925)
1 parent b43fa89 commit 799a10c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

specs/insights/common/schemas/EventAttributes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ timestamp:
4545
type: integer
4646
format: int64
4747
description: |
48-
Timestamp of the event, measured in milliseconds since the Unix epoch.
49-
By default, the Insights API uses the time it receives an event as its timestamp.
48+
Timestamp of the event, measured in milliseconds since the Unix epoch. Must be no older than 30 days.
49+
If not provided, we use the time at which the request was received.
5050
example: 1687193127
5151

5252
queryID:

specs/insights/paths/pushEvents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ post:
380380
summary: Timestamp too old
381381
value:
382382
status: 422
383-
message: The timestamp must be at most 4 days in the past
383+
message: The timestamp is too far in the past
384384
TooManyEvents:
385385
summary: Too many events
386386
description: You can include up to 1,000 events in a single API request.

0 commit comments

Comments
 (0)