[ckan-dev] Should authentication be required to data search?
David Raznick
kindly at gmail.com
Sun May 27 16:47:16 UTC 2012
On Sun, May 27, 2012 at 4:52 PM, Alexandre Gomes <alegomes at gmail.com> wrote:
> I think this is related to other thread:
> http://lists.okfn.org/pipermail/ckan-dev/2012-May/002245.html
>
> Should authentication be required to perform readonly queries on datasets?
>
>
>
Currently all post requests require authorization. We could allow post
requests, that are search queries, but more likely we should sort out the
bug in that thread.
The other option is to use the elastic search q param eg.
http://thedatahub.org/en/api/data/075de5b0-19ba-45fb-bfaa-603a78c47d45/_search?pretty=true&q=*
It is much less flexible that the full query json (i.e no faceting) but
should be good for most simple needs.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120527/66cdc661/attachment-0001.html>
More information about the ckan-dev
mailing list