[ckan-dev] package_search by organisation name

Matthew Fullerton matt.fullerton at gmail.com
Tue Dec 18 05:43:50 UTC 2018


https://demo.ckan.org/api/3/action/package_search?q=organization:opendata_rco

Seems to do it

-Matt

On Mon, 17 Dec 2018 at 18:49, Andy Lulham <a.lulham at gmail.com> wrote:

> Hi there,
>
> The following API URL returns various packages, including one from an
> organisation named “opendata_rco”:
> https://demo.ckan.org/api/3/action/package_search
>
> I’d like to create an API query that just returns the package(s) from
> this organisation.
>
> I guess this query would be something like:
> https://demo.ckan.org/api/3/action/package_search?q=organization:name=
> opendata_rco
>
> …but that’s obviously not quite right, since it returns zero results.
>
> Could someone enlighten me as to the correct query? Thanks in advance!
>
> Andy
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20181218/73156f09/attachment-0002.html>


More information about the ckan-dev mailing list