Table 5.
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. |