RESTful Gateway Interface

ISIS-NBP has a REpresentational State Transfer (REST), a stateless client-server architecture in which the web services are viewed as resources and can be identified by their URLs. The HTTP methods such as GET and POST are the verbs that the developer can use to describe the necessary create, read, update, and delete (CRUD) actions to be performed.

Go to address http://127.0.0.1:8080/web/restclient/ to try it.

The Request textarea (on the left), shows the HTTP request Method, URL and parameters used to retrieve data or perform a query on a resource.

Create new database


Delete database


Create new record


Delete record


This example reads the first record from database cds of the sample collection.



There is a python script implementation to illustrate the REST API:
http://reddes.bvsaude.org/projects/isisnbp/browser/isisnbp-poc/trunk/pyisis/pyisis/web/client/restapi/python/restapi_test.py.

Server:
http://reddes.bvsaude.org/projects/isisnbp/browser/isisnbp-poc/trunk/pyisis/pyisis/web/isis/restapi.py.

Attachments