resolution: block (1s), 1m, 5m, 15m, 1h, 4h, (1d not mentioned but would be helpful)
Volume was not asked for, but maybe should be created
Solution
The endpoints should accept a date range as they currently do, but also a resolution option which is dynamically restricted to a certain minimum and maximum resolutions for the given date range. Eg. the maximum resolution should show ~500 points and the minimum resolution should show ~10 points
The web app should also restrict the resolution requested by dynamically enforcing minimum and maximum resolutions for the visible date range. This should keep data volumes low and also communicate the data resolution better to the end user.
Required
Solution
The endpoints should accept a date range as they currently do, but also a resolution option which is dynamically restricted to a certain minimum and maximum resolutions for the given date range. Eg. the maximum resolution should show ~500 points and the minimum resolution should show ~10 points
The web app should also restrict the resolution requested by dynamically enforcing minimum and maximum resolutions for the visible date range. This should keep data volumes low and also communicate the data resolution better to the end user.