Private
Public Access
1
0
Ask Bjørn Hansen 393d532ce2 feat(api): add relative time support to v2 scores endpoint
- Add parseRelativeTime function supporting "-3d", "-2h", "-30m" format
- Update parseTimeRangeParams to handle Unix timestamps and relative times
- Add unit tests with comprehensive coverage for all time formats
- Document v2 API in API.md with examples and migration guide

Enables intuitive time queries like from=-3d&to=-1h instead of
Unix timestamps, improving developer experience for the enhanced
v2 endpoint that supports 50k records vs legacy 10k limit.
2025-08-03 12:12:22 -07:00
2023-11-21 12:24:02 -08:00
wip
2023-05-07 00:01:00 -07:00
2025-03-08 10:21:44 -08:00
2023-07-08 22:09:31 -07:00
2024-12-27 17:38:58 -08:00
2025-01-17 21:03:31 -08:00
2025-08-02 19:48:42 -07:00
2025-08-02 19:48:42 -07:00
2023-04-18 21:54:54 -07:00
wip
2023-05-07 00:01:00 -07:00
2025-08-02 19:48:42 -07:00
2023-12-10 21:02:04 -08:00
Description
No description provided
MIT 449 KiB
Languages
Go 98.5%
Shell 0.7%
Dockerfile 0.5%
Makefile 0.3%