From: <rv...@us...> - 2009-07-02 21:15:27
|
Revision: 168 http://treebase.svn.sourceforge.net/treebase/?rev=168&view=rev Author: rvos Date: 2009-07-02 21:15:21 +0000 (Thu, 02 Jul 2009) Log Message: ----------- Added document describing URL API Modified Paths: -------------- trunk/treebase-web/src/main/webapp/help/urlAPI.jsp Modified: trunk/treebase-web/src/main/webapp/help/urlAPI.jsp =================================================================== --- trunk/treebase-web/src/main/webapp/help/urlAPI.jsp 2009-07-02 21:12:18 UTC (rev 167) +++ trunk/treebase-web/src/main/webapp/help/urlAPI.jsp 2009-07-02 21:15:21 UTC (rev 168) @@ -78,11 +78,11 @@ an asterisk</a> can be used in statements in the site section they apply to, such that, for example a taxon can be retrieved by its ncbi ID like so: <div style="background-color:;padding:10px"> - <strong>taxon/find?query=tb:identifier.ncbi=<em><ncbi taxon id></em></strong> + <strong>taxon/find?query=tb.identifier.ncbi=<em><ncbi taxon id></em></strong> </div> or by its name like so: <div style="background-color:;padding:10px"> - <strong>taxon/find?query=tb:title.taxon=<em><name></em></strong> + <strong>taxon/find?query=tb.title.taxon=<em><name></em></strong> </div> or using an exact match (<strong>==</strong>) or a case-insensitive one (<strong>=/ignoreCase</strong>). These statements @@ -103,7 +103,7 @@ By default, all these queries return a web page, but with a <strong>format=rss1</strong> argument the search results are listed in an RDF compatible RSS1.0 file, i.e.: <div style="background-color:;padding:10px"> - <strong>taxon/find?query=tb:title.taxon=<em><name></em>&format=rss1</strong> + <strong>taxon/find?query=tb.title.taxon=<em><name></em>&format=rss1</strong> </div> The returned results in RSS1.0 use the short urls of the form <strong><section>/<id></strong>, whose returned resource descriptions (like <a href="/treebase-web/phylows/tree/TB2:Tr2227"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |