GetDKAN / dkan

DKAN Open Data Portal
https://dkan.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
366 stars 170 forks source link

package_show result should be a dictionary, not an array #182

Closed adufilie closed 9 years ago

adufilie commented 10 years ago

DKAN returns an Array result ("result": [{...) http://demo.getdkan.com/api/3/action/package_show?id=766fb66c-56b7-49fb-bf4d-062dbb6d017e

CKAN returns an Object result ("result": {...): http://demo.ckan.org/api/3/action/package_show?id=adur_district_spending

The API documentation says the return type should be a dictionary: http://docs.ckan.org/en/latest/api/index.html#ckan.logic.action.get.package_show

acouch commented 10 years ago

Thanks for noting this. We are working on a different way of rendering these endpoints and will make sure this gets updated. Will note that on this ticket when that code lands.

teosibileau commented 9 years ago

this is have been merge to NuCivic/open_data_schema_map master. Closing