-
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 a service to deal with Institutions that should be collections #259
Comments
We'll implement a service in the API to convert an institution into a collection. This service will do:
|
The endpoint is available now in UAT to receive POST requests at: http://api.gbif-uat.org/v1/grscicoll/institution/{key}/convertToCollection In the body it's required to pass either the institution key for the new collection or a name to create a new institution for this new collection. It has to be 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:
|
I also disallow the conversion iDigBio institutions and restricted the endpoint to GRSCICOLL_ADMINS users only. |
…forming an institution to a collection
Some institutions on GrSciColl should in fact be collections. This seems to be a relatively widespread issue (although I don't have any specific number) and contributes to the issue with duplicate institutions (#189)
Here are 25 examples that I checked manually:
Insitutions_that_should_be_collections_GrSciColl.tsv.zip
So one idea could be that it is just a special case of resolving duplicates.
It could be an option of the "replace by" mentioned here: #255
What it would do in addition to everything mentioned in the issue is to create a collection and add it to the institution that will be remaining.
Please share your ideas.
The text was updated successfully, but these errors were encountered: