[API-users] Dataset contacts

"Holetschek, Jörg" j.holetschek at bgbm.org
Thu Jul 10 14:35:08 CEST 2014

Thanks for the explanation, Markus!


Von: Markus Döring [mailto:mdoering at gbif.org]
Gesendet: Donnerstag, 10. Juli 2014 14:19
An: Holetschek, Jörg
Cc: api-users at lists.gbif.org; GBIF Developers Developers
Betreff: Re: [API-users] Dataset contacts

Hi Jörg,
this is intended behavior. These contacts are rendered as associate parties in the portal project block:

The contact type is not required. And even though we try to have a primary administrative contact that is also not a requirement.
But in this specific case our tapir "metadata synchronisation" could be a bit more clever and detect the type.


On 10 Jul 2014, at 11:18, Holetschek, Jörg <j.holetschek at bgbm.org<mailto:j.holetschek at bgbm.org>> wrote:

Hi guys,

I'm using the API to get dataset metadata from the registry (http://api.gbif.org/v0.9/dataset).

Each dataset entry has a 'contact' element, which is a list of contacts. Usually, each contact has a certain type. In the given example in the documentation, there are two contacts, each of type ADMINISTRATIVE_POINT_OF_CONTACT:

However, paging through the datasets, I hit contacts that somehow look different. For example, they don't have a type, which breaks a script if you want to find the primary administrative contact, for example:

Is that intended? Or is it leftovers from the old registry?


Jörg Holetschek
Coordinator Biodiversity Data Networks
Botanic Garden & Botanical Museum Berlin-Dahlem
Dept. Biodiversity Informatics

Königin-Luise-Str. 6-8, D-14195 Berlin
+49 (0)30 838-50150, j.holetschek at bgbm.org<mailto:j.holetschek at bgbm.org>

API-users mailing list
API-users at lists.gbif.org<mailto:API-users at lists.gbif.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gbif.org/pipermail/api-users/attachments/20140710/b3fe6ca1/attachment.html 

More information about the API-users mailing list