<?php /* @var $this yii\web\View */ $this->title = 'GGBN Portal API'; use ggbnsandbox\controllers\ApiController; ?> <div class="jumbotron"> <h2>GGBN API</h2> </div> <div class="container"> Hi!<br/> Documentation for the GGBN API is work in progress. Some examples in advance:<br/><br/> <b>API URL: http://www.ggbn.org/ggbn_portal/api/search?</b><br/><br/> <table> <tr><td width='250'>getCounts</td><td>total counts of different taxon levels and sample types (used for the start page)</td></tr> <tr><td>getSampletype&name=Arthropoda</td><td>total counts of sample types for a certain name (any level)</td></tr> <tr><td>getClassification&name=Chordata</td><td>total counts of samples for all children of a name</td></tr></table> <br/><br/> Feel free to test it. If you have any questions please contact support@ggbn.org. More information will follow soon. </div>