rotl icon indicating copy to clipboard operation
rotl copied to clipboard

New bulk node_info and taxon_info api call options

Open snacktavish opened this issue 1 year ago • 2 comments

Hi! We wanted to let you know that we (@opentreeoflife) now have an, as yet undocumented, bulk node info call.

curl -X POST https://api.opentreeoflife.org/v3/tree_of_life/node_info -H "content-type:application/json" -d '{"node_ids":["mrcaott246ott3364","mrcaott22834ott532753","mrcaott252688ott489372"]} '

We (@bredelings) are developing a bulk taxon_info call as well. (as yet only on devapi, will be on production soon).

curl -X POST https://devapi.opentreeoflife.org/v3/taxonomy/taxon_info -d '{"ott_ids": [1,2,3,4,5]}'

Would be great if you could include in your upcoming release, as it will speed things up on user side, and use less resources on our side. Thanks,

snacktavish avatar Jun 13 '23 18:06 snacktavish