AtlasOfLivingAustralia / webapi

Atlas Web service API app
https://api.ala.org.au
1 stars 6 forks source link

Documentation incorrect for 'facets' query option #15

Open nielsklazenga opened 8 years ago

nielsklazenga commented 8 years ago

The documentation at http://api.ala.org.au/ is misleading for the 'facet' option in the query string, for example under the Occurrence search. It says that 'facets' is a "Comma separated list of the fields to create facets on e.g. facets=basis_of_record.". If you do that, for example 'facets=country,state', you'll get an error. However, if you do 'facets=country&facets=state' it works fine.

Also, the 'fl' option is missing from the documentation.