-
Notifications
You must be signed in to change notification settings - Fork 494
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 version information not returned by Search API results #6396
Comments
Hmm, good point. I assume you'd want "draft" or "1.1" rather than the database id from the "datasetversion" table. We could provide both.
This is already possible if you set "show_entity_ids" to true. Please see http://guides.dataverse.org/en/4.18.1/api/search.html#parameters |
@pdurbin thanks for the In terms of the version, I think the |
@tainguyenbui makes sense. Can you please update the title of this issue to be a bit more specific about the scope? So far all these suggestions seem easy to implement. Thanks in advance! |
title updated, thanks a lot |
We discussed this issue at tech hours on Tuesday and estimated it independently from #6300 but said it might be worth rolling these changes into a single pull request for both issues. |
API Version
v. 4.18.1 build 267-a91d370
Description
The results returned by Dataverse when an authenticated Search is performed through the Search API are missing vital information to identify the version of the results.
This search is meant to return
published
andunpublished
dataCurrent response
The problem we find is the fact that it is not possible to know what version of the dataset is each result unless we
citationHtml
orcitation
properties of each item.Steps to reproduce
Expected behaviour
versionState
, and version numbers.It would be great if it could also return the
id
of the datasetActual Behaviour
The text was updated successfully, but these errors were encountered: