[ckan-dev] Package Create API

Mike Sinclair mm.sinclair08 at gmail.com
Wed Feb 3 07:40:40 UTC 2016


Hi guys,

I'm a bit confused. One of the parameters for package_create is:

groups (list of dictionaries) – the groups to which the dataset belongs
(optional), each group dictionary should have one or more of the following
keys which identify an existing group: 'id' (the id of the group, string),
or 'name' (the name of the group, string), to see which groups exist call
group_list()

If I do the a package_create, I am dumping this json into a python dict.
Are the groups supposed to be in a nested dictionary? Is so, is the dict
called "group"? What are the name, value pairs?

Thanks,

Mike
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160202/d4c13a6d/attachment-0002.html>


More information about the ckan-dev mailing list