[API-users] Types call not working

Markus Döring mdoering at gbif.org
Mon Dec 5 16:15:26 CET 2016


Hi Rod,
that has been reported many times. The species API does NOT return type specimen, although the URL suggests that. It did so in the beginnings, hence the URL.
It duplicated the occurrence method and conflated the type species responses for genus and higher taxa, so we ended up removing all type specimen responses and now only use it to return type species names. There are several threads about this in this mailing list already. To get the types for the species call:
http://api.gbif.org/v1/occurrence/search?taxonKey=7424919&typeStatus=*

Changing the URL would break backwards compatability, but this is one URL I really would like to see renamed as it consistently causes confusion.

Markus



On 05 Dec 2016, at 16:01, Roderic Page <Roderic.Page at glasgow.ac.uk<mailto:Roderic.Page at glasgow.ac.uk>> wrote:

Not sure if I’ve reported this before. The call to getting type specimens for a species consistently fails.

For example, http://www.gbif.org/species/7424919 has a holotype specimen, but the API call http://api.gbif.org/v1/species/7424919/typeSpecimens returns no records.

Regards,

Rod


---------------------------------------------------------
Roderic Page
Professor of Taxonomy
Institute of Biodiversity, Animal Health and Comparative Medicine
College of Medical, Veterinary and Life Sciences
Graham Kerr Building
University of Glasgow
Glasgow G12 8QQ, UK

Email:  Roderic.Page at glasgow.ac.uk<mailto:Roderic.Page at glasgow.ac.uk>
Tel:  +44 141 330 4778
Skype:  rdmpage
Facebook:  http://www.facebook.com/rdmpage
LinkedIn:  http://uk.linkedin.com/in/rdmpage
Twitter:  http://twitter.com/rdmpage
Blog:  http://iphylo.blogspot.com
ORCID:  http://orcid.org/0000-0002-7101-9767
Citations:  http://scholar.google.co.uk/citations?hl=en&user=4Z5WABAAAAAJ
ResearchGate https://www.researchgate.net/profile/Roderic_Page


_______________________________________________
API-users mailing list
API-users at lists.gbif.org<mailto:API-users at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/api-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gbif.org/pipermail/api-users/attachments/20161205/7857733f/attachment.html>


More information about the API-users mailing list