NeotomaDB / Neotoma-API

A Placeholder for the Neotoma API
3 stars 1 forks source link

Field limits on taxa endpoint #6

Open scottsfarley93 opened 8 years ago

scottsfarley93 commented 8 years ago

Is it possible to field limit the response of existing endpoints?

e.g., http://api.neotomadb.org/v1/data/taxa?taxagroup=VPL&fields=taxonname,taxonid

I want to get a list of all the taxa, and don't want the metadata that comes with the taxa endpoint, just the name of the taxon. I use it to populate an autocomplete menu at my application entry point, so I'd like to receive the data as quickly as possible. I'm already requesting gzip compressed responses, so limiting the amount of data to be returned seems like a reasonable next step. I know this is enabled on the apidev/pollen endpoint.