[ckan-dev] filter_by_openness does not work; find all open Data Packages

Pascal Christoph christoph at hbz-nrw.de
Thu Apr 28 14:11:51 UTC 2011


Hi *,

Unfortunately we encountered problems querying the CKAN API:
Following api version 1 this URL should work:

wget 'http://ckan.net/api/1/search/package?q=lobid&filter_by_openness=1'

but it shows up the same result when setting "filter_by_openness=0" - so
that filtering seems broken.
However, there seems to be a workaround - simply not using the filter
will show all packages, indifferent of their license:

wget 'http://ckan.net/api/1/search/package?q=lobid'

 Btw, the filter is only working in combination with the "q" parameter,
but "q=*" does not work. So, whats the correct URL to *find all Data
Packages which are open*?

again: thanks for your efforts,

-o




More information about the ckan-dev mailing list