Add endpoints to download reports
Closed this issue · 1 comments
smirolo commented
All the reports in api/metrics.py can be viewed through the Web interface, but there are no download end points to get the data as a .csv instead of a JSON blob returned by an API.
This functionality could be implemented as separate DownloadViews, though maybe best as a Content-Type HTTP header to the API endpoints.
smirolo commented
The CSV generated by the previous PR has rotated columns/rows vs. the online Web presentation.