Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different terms for resource title in API compared to CKAN #195

Closed
dataunity opened this issue Aug 15, 2014 · 3 comments
Closed

Different terms for resource title in API compared to CKAN #195

dataunity opened this issue Aug 15, 2014 · 3 comments

Comments

@dataunity
Copy link

Hi,

It looks like CKAN use the term 'name' for a resource's title in the API. However DKAN users the term 'title' instead.

As an example, here's a DKAN dataset. The resource title is:

...
   "resources": [
      {
        "title": "Recycling banks"
...

http://dev-lambethdata.gotpantheon.com/api/3/action/package_show?id=f9b7f363-6a2b-426e-8306-60332aa095cd

Here's an example from a CKAN instance:

...
   "resources": [
      {
        "name": "Met Police crime figures Jan 2014"
...

http://5.101.100.119//api/3/action/package_show?id=met-police-crime-figures

I may have got things wrong and both 'title' and 'name' are acceptable properties for a resource, but I can't see the API JSON documented anywhere in CKAN to confirm.

@acouch
Copy link
Contributor

acouch commented Aug 18, 2014

Thanks. Will update this soon.

topicus added a commit to NuCivic/open_data_schema_map_dkan that referenced this issue Aug 21, 2014
teosibileau added a commit to NuCivic/open_data_schema_map_dkan that referenced this issue Aug 22, 2014
@teosibileau
Copy link

we still have some work to do to integrate Nucivic/open_data_schema_map_dkan into dkan but it'll eventually get in when we replace the dkan_dataset_api module

@acouch
Copy link
Contributor

acouch commented Dec 8, 2014

This is now configurable on a per instance basis with the Open Data Schema Map module which is included in DKAN. See https://github.com/NuCivic/open_data_schema_map#multi-value-fields for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants