-
Notifications
You must be signed in to change notification settings - Fork 501
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
Retrieve updatedAt, version, and keywords when searching through API #6300
Comments
Thanks @tainguyenbui for suggesting an approach for reducing the number of API requests. We'll take a look at this during sprint planning and may be back with questions. |
I've removed the |
|
We might want to take a look at this one: API search with subtree param :add more hierarchy information in result #6354 @tainguyenbui any interest in that? 😄 |
@pdurbin that would be an interesting approach 🤔 Definitely interested 😜 although I am a bit worried about "very long list" of extra params requested 😬 |
To fix #6396 we could add "draft" or "1.1" or whatever, the dataset version. Perhaps also optionally the id from the "datasetversion" table (perhaps triggered by setting "show_entity_ids" to true). |
I just wanted to note that this issue came up while discussing #6396 during tech hours on Tuesday. It may or may not make sense to make a single pull request for both issues. Time will tell. |
What we want to achieve
To retrieve the latest datasets information such as
updatedAt
,dataset version
,description
,authors
,name
,keywords
anddataverse link
through search without the need to perform extra requests. (We believe these heavy operations could be reduced.)Current scenario:
When searching for files contained in the latest datasets, I am able to retrieve a list of results. However, it requires for an iteration through the results in order to
get the dataset information based on doi
for each of those results in order to retrieve some of the fields above.Desired scenario:
No extra iterations are necessary
Current example of search output
An example of what it might be useful
Potentially, having the datasetId as part of the search result could also be beneficial.
What we are currently doing with some of the metadata blocks
We are mapping metadata blocks to a simpler structure in order to reduce complexity at the client side.
Thanks in advance! We are really enjoying working with Dataverse and collaborating with Dataverse developers
The text was updated successfully, but these errors were encountered: