-
Notifications
You must be signed in to change notification settings - Fork 15
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
Implement service to merge duplicate GRSciColl entities #255
Comments
The endpoint is available now in UAT to receive POST requests at: http://api.gbif-uat.org/v1/grscicoll/institution/{key}/merge In the body we need to pass the replacement entity key in JSON format:
Authentication is required and the user needs to be a GRSciColl admin or editor. Curl request example:
|
…forming an institution to a collection
To be changed:
|
Some additional reasoning and thoughts about keeping the IDs associated with the old entry (from Skype conversation):
The type of use case we are trying to address:
|
I also disallow the merge of 2 iDigBio entities and restricted the endpoint to GRSCICOLL_ADMINS users only. |
…forming an institution to a collection
Due to the nature of how GRSciColl has been assembled, duplicate records exist. When discovered data managers need to be able to easily address the issue. A service should be made that allows a data manager to effectively delete (logically) a record indicating that it is to be considered a duplicate of another entity.
This should do the following:
There are some preconditions that have to be met in order to do the merge:
The text was updated successfully, but these errors were encountered: