-
Notifications
You must be signed in to change notification settings - Fork 7
Release notes for web API v3
Joseph W. Brown edited this page Feb 17, 2016
·
37 revisions
this is work in progress
This page gives information for users of the Open Tree of Life v2 web API regarding the transition to v3.
Full documentation for the v3 web API is here: Open Tree of Life Web APIs
- The new base URL for all v3 services is
https://api.opentreeoflife.org/v3/ - for all
tree_of_lifemethods that return a node ID for a node in the synthetic tree, the result is a string (not a long). These IDs should also either transfer well or fail gracefully for future versions of the tree (previously, some node IDs were re-minted for new versions of the tree and may have transferred poorly). - All
graph/methods are discontinued, not available even under their v2/ URLs, with no replacement (with the exception ofgraph/node_infowhich is nowtree_of_life/node_info)
- Rename
taxonomy/taxonmethod totaxonomy/taxon_infofor consistency withtree_of_life/node_info - Rename
taxonomy/licamethod totaxonomy/mrca - Parameter and output field names:
-
ott_idrather thanottID(intaxonomy/taxon_info) andot:ottId(intnrs/methods) -
nameortax_namerather thanot:ottTaxonName(ArguSON currently usesname) -
tax_sourcesinstead oftax_source -
tax_rankrather thanrankintaxonomy/taxon, or else changetax_ranktorankArguSON. Should be consistent -
tree-of-life/node_info: the sources are returned astax_sourceswhose value is a list of strings (in v2 it wastax_sourceand a single string) - nww boolean parameter
include_childrenfor thetaxonomy/taxon_infomethod, returnschildrenin result (list of taxon descriptions similar toinclude_lineage) - in all
tree-of-lifemethods,tree_idrefers to a source tree andsynth_idrefers to the version of the synthetic tree (previously, we usedtree_idfor both).
-
- It's proposed to split
dateintree_of_life/aboutintodate_createdanddate_deployed- are both pieces of information available now? - It's been suggested to write
taxon_idinstead ofott_id - Optional argument to
tree_of_life/methods specifying which synthetic tree to use (currently there's only one, but in future there could be several) (this might already be implemented in tm-lite) - If a request cannot be satisfied, an HTTP 4xx response is returned instead of a 200 with
{"error":...}. (In v2 we have a mix of the two conventions.) - what else? see google doc
This list just FYI, and should not be considered final. Feedback welcome, though!
- use GET instead of POST where possible (for example,
studymethods) - new service for generating conflict report (we have one, but name and calling conventions are unsettled)
- new study/tree index (OTI replacement; new searchable properties for studies and trees)
- make official services for the previously-undocumented "Arguson" format
- Change phylesystem-api methods to underscores from camelCase for consistency
- new service to translate between various taxonomy identifers (i.e. NCBI ID to GBIF ID)