-
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
Allow deletion of saved searches #9317
Comments
@pdurbin @philippconzett Do you think that we need to remove links created by the saved search while removing a saved search ? This means, making sure that we don't remove links that would be created by another saved search. |
I'm curious what @philippconzett thinks but yes, I think it would be nice if deleting a saved search automatically deleted any links created by that saved search. However, as you point out, it could be tricky to determine how the link was created, by a saved search or not. We do have the ability to delete links now, thanks to #4543. We call this "unlinking": https://guides.dataverse.org/en/6.1/admin/dataverses-datasets.html#unlink-a-dataset |
Thanks. I'm not sure. The most important thing for us is that the new feature will allow us to permanently delete any linking between datasets and collections. Will the delete saved searches be an API command similar to the one I now need to run each Sunday (= curl -H "X-Dataverse-key: $API_TOKEN" -X DELETE http://$SERVER/api/datasets/$linked-dataset-id/deleteLink/$linking-dataverse-alias)? |
@luddaniel created a pull request: Thanks! |
… on SavedSearch API
Overview of the Feature Request
Dataset links between collection within a Dataverse installation can be removed using this API call:
However, the links will still appear again since the saved searches will be re-established weekly.
To remove links permanently, we need a DELETE endpoint for saved searches.
What kind of user is the feature intended for?
API User
What inspired the request?
A long-lasting issue we have been having at DataverseNO; see this discussion thread in the Dataverse Google group.
What existing behavior do you want changed?
Dataset links between sub-collections within a Dataverse installation being re-established after unlinking.
Any brand new behavior do you want to add to Dataverse?
No.
Any related open or closed issues to this feature request?
#1364. See also @pdurbin's comment in the mentioned discussion thread:
The text was updated successfully, but these errors were encountered: