analytics
analytics copied to clipboard
Support realtime periods in API v2
Changes
- Parse query date ranges into a new
NaiveDateTimeRangestruct rather than a simpleDate.Range - support
realtimeand30mdate range shortcuts in the private API JSON schema - make it possible to pass a
dateparameter relative to which thedate_rangewill be constructed.
Tests
- [x] Automated tests have been added
Changelog
- [x] This PR does not make a user-facing change
Documentation
- [x] This change does not need a documentation update
Dark mode
- [x] This PR does not change the UI