[ckan-discuss] Group search via API (v2)

Kussatz, Tilo Tilo.Kussatz at fokus.fraunhofer.de
Thu May 12 13:29:44 BST 2011


Hi all,

Using the API v2 and CKAN v1.4.1a I am trying to retrieve a list of the 
packages assigned to a specific group. This works as expected if I query 
the ckan.net instance, e.g.:

http://ckan.net/api/2/search/package?groups=art

returns 16 results, but my local installation returns '{"count": 0, 
"results": []}' for any query with a groups parameter.

Through '/api/2/rest/group/art' I get the description, title and other 
information on my instance and can also see that two packages belong to 
this group. It is just the search query that doesn't return them. (I 
have a local group with both name and title of "art" which I assigned 
two packages to via the web interface.)

Is there some setting to enable the more advanced search features that 
I overlooked, or could this be an authorization issue? The CKAN 
installation is 'fresh' otherwise.

I'd appreciate any pointers,

Thanks,

Tilo






More information about the ckan-discuss mailing list