FAQ | This is a LIVE service | Changelog

Skip to content

Re-work asset stats endpoint

Dr Rich Wareham requested to merge github/fork/rjw57/stats-endpoint-tweaks into master

This PR re-works the stats endpoint as outlined in #84 (closed) and #85 (closed). Commit a64b5003 merely tidies up the existing test a little by directly creating the Asset entries in the database rather than having the boilerplate of going through the API. Commit e9081e65 addresses #84 (closed) by excluding deleted assets from the returned stats. Commit abc01933 builds on this work and re-arranges the results from the stats endpoint to have the grouping outlined in #85 (closed).

Closes #84 (closed). Closes #85 (closed).

Merge request reports