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

Dataset Size API #6524

Closed
djbrooke opened this issue Jan 15, 2020 · 1 comment · Fixed by #6609
Closed

Dataset Size API #6524

djbrooke opened this issue Jan 15, 2020 · 1 comment · Fixed by #6609
Assignees

Comments

@djbrooke
Copy link
Contributor

We have an endpoint for getting Dataverse size, added in #5848/#5941:

http://guides.dataverse.org/en/latest/api/native-api.html#report-the-data-file-size-of-a-dataverse

We should add an additional endpoint for getting dataset size that should (generally) follow the same logic as the dataverse API. The display of this on the dataset page (#6400) is still being designed and tested, but we should add the API now to ease UI development in the future and because this may be useful for systems integrating with Dataverse.

@djbrooke djbrooke self-assigned this Jan 15, 2020
@djbrooke
Copy link
Contributor Author

djbrooke commented Jan 15, 2020

Three use cases:

  • I'm an administrator and I want to know the size of a dataset added by a researcher so that I can take administrative action
  • I'm a user and I want to know how much data will be included in the download if I try to zip all files and download
  • I'm an integrating system (Whole Tale, etc) and I want to provide some expectation in my UI about how long something will take when pulling files from Dataverse

Notes:

  • We should provide a mode for what will be displayed on the page (and included in the zip) and also the storage being used (for administrative purposes)
  • We should be able to use code from 5848 api dataverse totalsize #5941

@djbrooke djbrooke removed their assignment Jan 15, 2020
@sekmiller sekmiller self-assigned this Jan 28, 2020
sekmiller added a commit that referenced this issue Jan 29, 2020
sekmiller added a commit that referenced this issue Feb 3, 2020
sekmiller added a commit that referenced this issue Feb 3, 2020
sekmiller added a commit that referenced this issue Feb 4, 2020
sekmiller added a commit that referenced this issue Feb 4, 2020
sekmiller added a commit that referenced this issue Feb 4, 2020
sekmiller added a commit that referenced this issue Feb 4, 2020
sekmiller added a commit that referenced this issue Feb 6, 2020
sekmiller added a commit that referenced this issue Feb 6, 2020
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

Successfully merging a pull request may close this issue.

2 participants