Skip to main content

CKAN API Extension for OFS Storage

Project description

This extension adds:

  • Some new methods to the CKAN API for dealing with storage

  • An /upload page to web interface for doing file uploads

It uses OFS to talk to the backing storage so can support anything that OFS supports including local filesytem, S3, Google Storage etc.

In your config you need something like:

ckan.plugins = storage
# this is for google storage
ofs.impl = google
ofs.gs_access_key_id = GOOGCABCDASDASD
ofs.gs_secret_access_key = 134zsdfjkw4234addad

Then there will some new API methods:


And a new upload page at /upload.

Metadata API


  • GET will return the metadata

  • POST will add/update metadata

  • PUT will replace metadata

Auth API

Get credentials for doing operations on storage (usually directly):


Details in docstrings in ckanext/storage/ or by visiting api/storage when running this extension.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext-storage-0.4.tar.gz (5.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page