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

Feature Request/Idea: List Versions of a Dataset API reduced response size #10171

Closed
johannes-darms opened this issue Dec 6, 2023 · 1 comment · Fixed by #10778
Closed

Feature Request/Idea: List Versions of a Dataset API reduced response size #10171

johannes-darms opened this issue Dec 6, 2023 · 1 comment · Fixed by #10778
Labels
Type: Feature a feature request
Milestone

Comments

@johannes-darms
Copy link
Contributor

Overview of the Feature Request
Extend the API api/datasets/%s/versions so that it only returns version information and omits other properties such as files, metadata blocks and so on. Some API clients are only interested in the existence of versions and not in all details of them, if necessary these can be determined by another request. Therefore, I would like to extend the API with a flag to get a shorter response. This should be disabled by default to ensure backwards compatibility.

What kind of user is the feature intended for?
API User

What inspired the request?
Slow response from api/datasets/%s/versions due to the large response body. Most of the information included is not needed as I just want to display a dropdown list with all available versions.

What existing behavior do you want changed?
Extension of the API api/datasets/%s/versions

Any brand new behavior do you want to add to Dataverse?
None

Any open or closed issues related to this feature request?
None

@johannes-darms johannes-darms added the Type: Feature a feature request label Dec 6, 2023
@johannes-darms
Copy link
Contributor Author

@GPortas: This is could also be an issue for the new SPA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature a feature request
Projects
None yet
2 participants