Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (898 - 900 of 2152)

Ticket Resolution Summary Owner Reporter
#1316 fixed /api/action uncaught exception if missing necessary parameter kindly dread

Reported by dread, 3 years ago.

Description
curl http://ckan.net/api/action/package_show -d '{"name": "uk-quango-data"}'

This gives 500 error due to KeyError? (it looked for the 'id' param), rather than 400.

#1324 fixed Add extra fields to resource table kindly kindly

Reported by kindly, 3 years ago.

Description

add extra fields to resource as outlined in

http://wiki.ckan.net/Domain_Model/Resource

Specifically (all unicode strings except for those noted):

  • name: a name for this resource (could be used in a ckan url)
  • type: the type of the resource. One of: file | api | service | listing
  • mimetype: standard mimetype (e.g. for zipped csv would be application/zip)
  • mimetype_inner: mimetype of innermost object (so for example would be text/csv)
  • size: [integer] size of the resource (content length) in bytes. Usually only relevant for resources of type file.
  • last_modified: [datetime] the date when this resource's data was last modified (NB: not the date when the metadata was modified).
  • cache_url: url for cache of object in ckan storage
  • cache_last_updated: [datetime] timestamp when cached version was created
  • webstore_url:
  • webstore_last_updated: [datetime] timestamp when webstore was last updated
#1335 fixed Action API - basic kindly dread

Reported by dread, 3 years ago.

Description

Provide an API to the logic layer at /api/action.

Note: See TracQuery for help on using queries.