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@glasgow.ac.ukmailto:Roderic.Page@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
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@glasgow.ac.ukmailto:Roderic.Page@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@glasgow.ac.ukmailto:Roderic.Page@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@lists.gbif.orgmailto:API-users@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
Thanks Markus, yep, serious déjà vu, was in meeting and couldn't check.
Rod
Sent from my iPhone
On Mon, Dec 5, 2016 at 3:15 PM +0000, "Markus Döring" <mdoering@gbif.orgmailto:mdoering@gbif.org> wrote:
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@glasgow.ac.ukmailto:Roderic.Page@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@glasgow.ac.ukmailto:Roderic.Page@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@lists.gbif.orgmailto:API-users@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
participants (2)
-
Markus Döring
-
Roderic Page