Ticket #1324 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Add extra fields to resource table

Reported by: kindly Owned by: kindly
Priority: awaiting triage Milestone: ckan-sprint-2011-09-12
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by rgrp) (diff)

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

Change History

comment:1 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:2 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:3 Changed 3 years ago by kindly

  • Milestone set to ckan-sprint-2011-09-12

comment:4 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:5 Changed 3 years ago by rgrp

  • Status changed from new to closed
  • Resolution set to fixed

Done and merged into main at cset:8bb0720a2150 (and deployed!)

Note: See TracTickets for help on using tickets.