OpenTreeOfLife / taxomachine

taxonomy graphdb
Other
7 stars 4 forks source link

Add source id lookup feature to taxon_info method #137

Closed jar398 closed 8 years ago

jar398 commented 8 years ago

Addresses #97. You can now say "source_id": "ncbi:1234" as a substitute for "ott_id":... in the taxonomy/taxon_info method. Running on devapi; a new taxomachine database was required (and will have to be copied over to api). I wanted to wait until this was reviewed and deployed before updating the documentation.

jar398 commented 8 years ago

This is running on devapi. (takes hours to rebuild the db!)

curl -X "POST" -H "Content-type: application/json" -d '{"source_id": "ncbi:242837"}' "https://devapi.opentreeoflife.org/v3/taxonomy/taxon_info"