Extension Datastore Restful


Extension Basics

Title
Datastore Restful
Name
ckanext-datastore_restful
Type
Core extension
Description
Extension that provides a fully Restful API to access the data contained in the DataStore.
CKAN versions
Download-Url (zip)
Last commit
10 years ago (2015-02-26 16:51:52)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

CKAN DataStore Restful Build Status

CKAN is a powerful tool that allows users to publish data in different formats. In addition, CKAN offers extensions that transform this datasets into HTTP APIs to ease the access to them. Nevertheless, this API is not REST since it only uses GET and POST verbs. For this reason we have created this extenion that you can easily install in your CKAN instance.

Installation

Install this extension in your CKAN instance is as easy as intall any other CKAN extension. * Download the source from this GitHub repo. * Install the extension by running python setup.py develop * Modify your configuration file (generally in /etc/ckan/default/production.ini) and add datastore_restful in the ckan.plugins setting. * Restart your apache2 reserver (sudo service apache2 restart) * That’s All!

Tests

This sofware contains a set of test to detect errors and failures. You can run this tests by running the following command:

nosetests --ckan --with-pylons=test.ini ckanext/datastore_restful/tests/

Note: The test.ini file contains a link to the CKAN test-core.ini file. You will need to change that link to the real path of the file in your system (generally /usr/lib/ckan/default/src/ckan/test-core.ini).

You can also generate coverage reports by running:

nosetests --ckan --with-pylons=test.ini --with-coverage --cover-package=ckanext.datastore_restful --cover-inclusive --cover-erase . --cover-xml

API Specification

Acess the DataStore Restful API specification by clicking here.

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
datastore_restful
CKAN Settings (ckan.ini)
# nosetests --ckan --with-pylons=test.ini --with-coverage --cover-package=ckanext.datastore_restful --cover-inclusive --cover-erase . --cover-xml
DB migration to be executed
(not set)
<< back to Extensions