Skip to main content
. 2014 Jan 17;(2):e1024. doi: 10.3897/BDJ.2.e1024

Table 5.

A method to search for taxa in the Polytraits database. Returns matching taxon identifiers.

URL: http://polytraits.lifewatchgreece.eu/taxon/{query}/{format}/?{other parameter key value pairs}

Example: Retrieve all taxon information about taxa starting with "Syllis" and return them as a numeric array: http://polytraits.lifewatchgreece.eu/taxon/Syllis/json/?exact=0&verbose=1&assoc=0

Parameter name data type allowed values default value Parameter Note Output
query string any taxon name spaces have to be url-encoded, case-insensitive
format string json|xml json Optional.
Currently only json is implemented
exact boolean 1|0 1 optional When true, returns only the exact match for the query string. When false, returns all matches beginning with the query string.
verbose boolean 1|0 0 optional When true, returns per taxon: array (taxon ID, taxon name, authority, valid taxon ID, valid taxon name, valid authority, status, source of synonymy, rank). When false, returns per taxon: array (taxon ID, taxon name).
assoc boolean 1|0 0 optional When true, an associative array is returned with the taxon ID as keys. When false, a numeric array is returned.