Closed jar398 closed 8 years ago
Partially addresses #163. For a complete answer we should have a companion oti method that returns the reference strings and DOIs, given a list of study ids.
$ curl -H "content-type:application/json" -X POST https://devapi.opentreeoflife.org/v3/tree_of_life/induced_subtree -d '{"ott_ids":[292466, 267845, 666104, 316878, 102710]}' { "supporting_studies" : [ "pg_2404", "pg_2577", "pg_420", "pg_2591" ], "newick" : "(((Cinclus_ott267845,Setophaga_ott666104),(Perdix_ott102710,Clangula_ott316878)Galloanserae_ott5839486)Neognathae_ott241846,Struthio_ott292466)Aves_ott81461;"
Partially addresses #163. For a complete answer we should have a companion oti method that returns the reference strings and DOIs, given a list of study ids.