-
Notifications
You must be signed in to change notification settings - Fork 500
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 id not being returned when retrieving specific version of a dataset #6397
Comments
Since it is a specific API to get a version, we should leave the id there, but also add dataset_id. (or we could add a block for dataset and id be part of that). Additionally, we should be careful about DOI - we still eventually want version DOIs, so we should make sure it is dataset_doi (or if we go with the block approach, put it in there). Might be worth looking at an API that gets the file metadata and how/if we refer to the dataset there. |
I just created pull request #6511 for this issue.
When someone calls
That is to say, neither the dataset id nor DOI is shown. |
expose dataset ID and DOI/Handle in version response #6397
API version
v4.18
Description
When retrieving dataset information for as specific version, for instance,
:latest-published
, thedataset id
is not returned, instead,dataset version id
is returned, which is referenced in thefiles
of the dataset.The endpoint being used is:
https://demo.dataverse.org/api/datasets/389605/versions/:latest-published
Current response
Desired response:
Same response as above with some extra properties:
The text was updated successfully, but these errors were encountered: