You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I want to retrieve all the genera on iNaturalist called 'Hydria', I would use a query like: https://api.inaturalist.org/v1/taxa?q=Hydria&is_active=true&rank=genus&all_names=false
Unfortunately, this also retrieves the genus Hydriastele since it starts with the string 'Hydria'. I know I can filter this out in post-processing, but it seems like there should be a way to query for 'Hydria' exactly rather than always doing a prefix search. Maybe a new boolean query parameter could be added called 'prefixsearch' (defaults to true) or 'exactstring' (defaults to false) or something like that.
The text was updated successfully, but these errors were encountered:
If I want to retrieve all the genera on iNaturalist called 'Hydria', I would use a query like:
https://api.inaturalist.org/v1/taxa?q=Hydria&is_active=true&rank=genus&all_names=false
Unfortunately, this also retrieves the genus Hydriastele since it starts with the string 'Hydria'. I know I can filter this out in post-processing, but it seems like there should be a way to query for 'Hydria' exactly rather than always doing a prefix search. Maybe a new boolean query parameter could be added called 'prefixsearch' (defaults to true) or 'exactstring' (defaults to false) or something like that.
The text was updated successfully, but these errors were encountered: