Open MortenHofft opened 3 months ago
Question I see there is a concept of institutions, but I do not see them reflected in the API (only via the projects API where i can ask for projections related to an institution). And when I do so for e.g. entry https://localcontextshub.org/institutions/view/49/ then I get 0 projects https://localcontextshub.org/api/v1/projects/institutions/49/ despite the institution entry statin gthere is one projection.
It might be a data consistency issue as I see it works as I would expect for some entries (like institution 94).
example record https://scd.landcareresearch.co.nz/Specimen/CHR%20365035
which belongs to this project in the LC api https://localcontextshub.org/api/v1/projects/106eeba8-1c47-410c-9cfd-89bcb5e22656/ https://localcontexts.org/support/api-guide/
this record in the hosted portal https://new-zealand.hp.gbif-staging.org/data/?catalogNumber=chr%20365035&entity=1091162039&taxonKey=0
gbif api response https://api.gbif.org/v1/occurrence/1091162039/fragment (currently the LC project data isn't there)
If this project ID was part of the published record we could show those labels it could be as a new field in the api, or to begin with just dynamic properties It could also be on a dataset level, in eml or as an identifier in the gbif registry
an additional field like localContextLabels="commercialization|provenance|collaboration" would also be nice. we could get it from the LC api and that would make it fresh data. But also hammer their API. that would allow search by labels
it looks like one record can be part of multiple LK projects