Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

RESTful API for Nereid.

Project Description

Nereid Rest is a tryton module which adds RESTful API to Nereid.

Installation

Get the latest code from github and install:

pip install git+ssh://git@github.com/openlabs/nereid-rest.git@develop

Usage

After installing nereid-rest, access data of any model just by accessing /rest/model followed by the model name in the URL, which gives you model records as JSON:

GET, POST /rest/model/<mode.name>

To get a specific record from a model:

GET, PUT, DELETE /rest/model/<mode.name>/<record_id>

For example

To get all the records of party.party

/rest/model/party.party

Get data of record with id 5 from party.party model:

/rest/model/party.party/5

By default you only get the id and rec_name if there’s no serialize method in the model.

But, if there’s a serialize method in the model, nereid-rest will return whatever serialize method returns.

Release History

Release History

This version
History Node

3.0.1.0dev1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
openlabs_nereid_rest-3.0.1.0dev1.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source May 19, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting