From 19460ad7e72ce79677e7074c6fcf12fb1d546aef Mon Sep 17 00:00:00 2001 From: Aleksandar Jovanov Date: Sat, 17 Jun 2017 15:07:52 +0200 Subject: [PATCH] [#2944] Update API docs for import datasets example Add missing 'owner_org' field for package_create, since it is a required field. --- doc/api/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/index.rst b/doc/api/index.rst index 8766e43c074..23c86f595d2 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -184,6 +184,7 @@ to import datasets into CKAN. dataset_dict = { 'name': 'my_dataset_name', 'notes': 'A long description of my dataset', + 'owner_org': 'org_id_or_name' } # Use the json module to dump the dictionary to a string for posting. @@ -336,7 +337,7 @@ A list of all tags: * browser: http://demo.ckan.org/api/3/action/tag_list * curl: ``curl http://demo.ckan.org/api/3/action/tag_list`` * ckanapi: ``ckanapi -r http://demo.ckan.org action tag_list`` - + Top 10 tags used by datasets: * browser: http://demo.ckan.org/api/action/package_search?facet.field=[%22tags%22]&facet.limit=10&rows=0