gbif / portal16

GBIF.org website
https://www.gbif.org
Apache License 2.0
24 stars 15 forks source link

Changes in directory #1886

Closed marcos-lg closed 11 months ago

marcos-lg commented 11 months ago

New values added to the role enum:

New enum AreaExpertise:

New enum programme: 'BID','BIFA','CESP' New enum award: 'GRA','EBBE1ST','EBBE2ND','EBBE3RD' New enum certification: 'BIODIVERSITY_DATA_MOBILIZATION', 'BIODIVERSITY_DATA_USE', 'BIODIVERSITY_DATA_PUBLISHING_SUPPORT' New enum certificationLevel: 'BASIC','ADVANCED'

New fields added to the person:

New endpoints:

MortenHofft commented 11 months ago

@marcos-lg What are the APIs where those roles are listed in their entirety? And the expertice etc. I would like to have the uptodate information, but do not see it https://api.gbif-uat.org/v1/enumeration/basic but perhaps I just do not know what to look for

marcos-lg commented 11 months ago

The directory has its own endpoints: https://api.gbif-uat.org/v1/directory/enumeration

MortenHofft commented 11 months ago

@kcopas Which of this information do we consider public and should be available on public APIs and possibly websites? Is:

orcidId areasExpertise languages profileDescriptions certifications

all inteded as public?

kcopas commented 11 months ago

Yes, please!

MortenHofft commented 11 months ago

@marcos-lg Why do the directory have its own list of language enumerations? Do we really need another one?

https://api.gbif.org/v1/enumeration/basic/Language https://api.gbif-uat.org/v1/directory/enumeration/Language https://api.gbif.org/v1/vocabularyLanguage

Would it make sense to use the one we have here https://api.gbif.org/v1/enumeration/basic/Language or is that not rich enough?

And if we need it, should it not follow the conventions of https://api.gbif.org/v1/vocabularyLanguage and use zh-TW instead of zh-tw?

MortenHofft commented 11 months ago

I guess that last comment on traditional chinese partly explains why we aren't using the 3-letter versions. But should we then change the casing to be consistent?

MortenHofft commented 11 months ago

I've added orcid as the only field to the UI and made sure the new roles display properly.

marcos-lg commented 11 months ago

I can change the casing yes.

For the language you should actually use https://api.gbif-uat.org/v1/directory/enumeration/language . I have to remove the one with the upper-case L.