One more observation about the new
all_names=1 support is that while I can retrieve a taxon by id# using the /v1/taxa/# endpoint, something my bot has always supported, I cannot pass
all_names= on that request, and its results do not contain the names. I have no code that actually depends on this at this time, but it did seem inconsistent.
I found, however, that this works:
I used garter snakes here because I knew there were a lot of subspecies. This correctly returns 28339 as the ‘best match’ (whew, Elasticsearch does the right thing here - not sure it would in all cases, though, as in an entire subtree all with 0 observations).
It would be better if
/v1/taxa/# would respond with the canonical list of all fields that all the other endpoints would’ve provided, or else supported the same flags to include/exclude additional fields that may not always be needed.