[ckan-discuss] qjson usage

Rufus Pollock rufus.pollock at okfn.org
Thu Nov 3 21:33:20 GMT 2011


Hmm I think the qjson is deprecated but not absolutely certain.

@David: any thoughts here?

Rufus

On 27 October 2011 15:18, Florian Marienfeld
<florian.marienfeld at fokus.fraunhofer.de> wrote:
> Hi,
>
> how do I correctly use the qjson param of the search api. I don't get it
> from the api doc. the straightforward approach would be:
>
> curl -s 'http://172.19.4.170/api/search/package?qjson={"maintainer":"joe"}'
>
> But that fives me
>    Could not read parameters: ValueError("Malformed qjson value:
> ValueError('Extra data: line 1 column 12 - line 1 column 18 (char 12 -
> 18)',)",)
>
> I've tried some variations of bracketing and escaping, but I am not
> getting it right. do I have do any urlencoding?
>
> Any hints are welcome, thanks in advance, best regards,
>
> FLO
>
>
> --
> Florian Marienfeld
> Dipl.-Ing. Tech.-Inf.
>
> Fraunhofer FOKUS
> - CC Motion -
> Kaiserin-Augusta-Allee 31
> 10589 Berlin
> +49 30 3463 7127
>
>
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
>



-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/



More information about the ckan-discuss mailing list