Closed ermbutler closed 9 months ago
@ermbutler This should be done now. Let me know if you run into any issues.
worms/taxa/query/startswith/str?rank=Family
https://fathomnet.org/worms/taxa/query/startswith/or?rank=family
worms/taxa/query/startswith/str?parent=Asteroidea
https://fathomnet.org/worms/taxa/query/startswith/or?parent=Asteroidea
worms/taxa/query/startswith/str?parent=Asteroidea&rank=Species
https://fathomnet.org/worms/taxa/query/startswith/or?parent=Asteroidea&rank=species
Notes:
parent
really means ancestor. I'll leave as-is as it's easier for end users to spell 😜 rank
is case insensitive.Released in v0.4.5
Thanks @hohonuuli, Appreciate the update! I am going to play with this now.
The current use case should be ok with the case sensitive parent, but I will let you know if that ends up tripping me up.
I am using the following endpoint for an autocomplete: https://fathomnet.org/worms/taxa/query/startswith
To allow for scoped results, we were wondering if these two options could be considered:
By rank:
Within a descendent of a parent:
Combination: