[ckan-dev] List all Private Datasets

Matt Leduc matt at mattleduc.com
Tue Jun 28 14:31:48 UTC 2016


You're placing a GET request, you need to do it as a POST.

Use something like the postman chrome extension if you don't want to do it
through code (or just to test it), and pass in your api key through the
header.

On Tue, Jun 28, 2016 at 10:28 AM Pedro G Silva <pedro.gracio at deimos.com.pt>
wrote:

> Hi
> /api/action/package_search?q=private:false
>
> works, but using true instead of false shows no results, even if I'm using
> the auth key of the dataset owner.
>
> Is this a bug?
>
> On Tue, Jun 28, 2016 at 3:11 PM, Pedro G Silva <pedro.gracio at deimos.com.pt
> > wrote:
>
>> Hi
>> Is there a way to list all private datasets using the API? Or searching?
>>
>> --
>>
>>
>> [image: DEIMOS Engenharia, SA] <http://www.deimos.pt>
>> *Pedro Gracio Silva*
>> Aerospace Systems / Production Center
>>
>> *Av. D. Joao II, Lt 1.17.01, 10 • 1998-023 Lisboa, Portugal*
>> Ph: +351 21 893 3020 • Fax: +351 21 896 9099
>>
>>
>
>
> --
>
>
> [image: DEIMOS Engenharia, SA] <http://www.deimos.pt>
> *Pedro Gracio Silva*
> Aerospace Systems / Production Center
>
> *Av. D. Joao II, Lt 1.17.01, 10 • 1998-023 Lisboa, Portugal*
> Ph: +351 21 893 3020 • Fax: +351 21 896 9099
>
> _______________________________________________
> 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/20160628/e2100358/attachment-0003.html>


More information about the ckan-dev mailing list