In a similar fashion to #386 , the associations endpoints, for example this one, returns taxon facets in terms of labels, but takes taxons facets in terms of ids.
Instead of adding a _taxon_map facet to all these different endpoints like in biolink/ontobio#618, perhaps it's better to create a generic endpoint that allows me to map an array of taxon labels to taxon ids in a single query. (I'm sure there's an existing endpoint to map a single label to id, but I'd need to hit that possibly dozens of times at once).
I suppose this would also allow us to undo the work in #386 for cleanliness, if that's what you want to do.
In a similar fashion to #386 , the associations endpoints, for example this one, returns taxon facets in terms of labels, but takes taxons facets in terms of ids.
Instead of adding a
_taxon_mapfacet to all these different endpoints like in biolink/ontobio#618, perhaps it's better to create a generic endpoint that allows me to map an array of taxon labels to taxon ids in a single query. (I'm sure there's an existing endpoint to map a single label to id, but I'd need to hit that possibly dozens of times at once).I suppose this would also allow us to undo the work in #386 for cleanliness, if that's what you want to do.