gbif / gbif-api

GBIF API
Apache License 2.0
28 stars 5 forks source link

API doesn't return `isInvasive` field in speciesProfiles endpoint #105

Open damianooldoni opened 1 year ago

damianooldoni commented 1 year ago

Hi! I have just discovered that the speciesProfile related information retrieved via API doesn't contain all information I can see via web. Example below: isInvasive field is not available via API.

web (verbatim): https://www.gbif.org/species/162493882/verbatim API: https://api.gbif.org/v1/species/162493882/speciesProfiles

Difficult for me to say if this is a general problem or a dataset/taxonKey specific. Could you please help me about this? Thanks.

mdoering commented 1 year ago

There is indeed no invasive field in the SpeciesProfile class that backs this service. Seems to be an oversight not discovered for a decade :)

MattBlissett commented 1 year ago

The web site will have used this API call for that page: https://api.gbif.org/v1/species/162493882/verbatim