Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1001 Bytes

README.rst

File metadata and controls

30 lines (21 loc) · 1001 Bytes

Aristotle-MDR API

https://travis-ci.org/aristotle-mdr/aristotle-mdr-api.svg?branch=master

The Aristotle-MDR API provides a self-documenting JSON API for retrieving content from thean Aristotle-MeteData-Registry

Quick start

  1. Add aristotle_mdr_api and rest_framework to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        ...
        'aristotle_mdr',
        'aristotle_mdr_api',
        'rest_framework',
        ...
    )
    
  2. Include the API URL definitions in your Django URLconf file

    url(r'^api/', include('aristotle_mdr_api.urls',app_name="aristotle_mdr_api",namespace="aristotle"))),
    
  3. Run python manage.py migrate to update the database to include the models for the API.