Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download tracking #6

Open
marksparkza opened this issue Sep 23, 2024 · 0 comments
Open

Download tracking #6

marksparkza opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@marksparkza
Copy link
Member

marksparkza commented Sep 23, 2024

Create a writable download tracking table that captures all the parameters of every download request, along with timestamp, client id and optionally (if initiated via the UI) user id. It should also capture computed info like download file size and checksum. The data model should be general enough to work for downloads of any of the supported data types.

Additionally create a router for retrieving download tracking data, which can then be displayed in an applicable view in the UI. I would suggest creating two new endpoints with the following scopes:

  • sadco.download:read - return only download records matching the caller's client id and user id (this could potentially give users a way to rerun previous downloads)
  • sadco.download:admin - return all download records

We will probably want to be able to filter the results by various parameters such as user id and/or data type and/or date range - we can discuss further as this capability takes shape in the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants