[ckan-dev] Minimal ckan dataset and resource MD fields

Timothy Giles timothy.giles at slu.se
Wed May 25 12:59:28 UTC 2016


Thanks Ian. Yes, prehaps I should have clarified what I meant. Looking at it and trying I came up with a similar list. 

-----Original Message-----
From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Ian Ward
Sent: den 25 maj 2016 14:55
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: Re: [ckan-dev] Minimal ckan dataset and resource MD fields

That depends on your site configuration and plugins enabled. You can always try the API calls and see what errors you get for your specific site, e.g.:

$ ckanapi action package_create
...
ckan.logic.ValidationError: {'owner_org': ['A organization must be supplied', 'Missing value'], 'name': ['Missing value'], 'title':
['Missing value']}

$ ckanapi action resource_create package_id=fake ...
ckan.logic.ValidationError: {'url': ['Missing value']}

On Wed, May 25, 2016 at 7:18 AM, Timothy Giles <timothy.giles at slu.se> wrote:
> Hi,
>
>
>
> I was wondering if someone could  confirm the names of the required 
> metadata elements for a CKAN dataset (both the dataset and the 
> resources MD elements).
>
>
>
> Thanks Timothy
>
>
> _______________________________________________
> 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
>
_______________________________________________
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



More information about the ckan-dev mailing list