Installation

To install senaite.jsonapi in your SENAITE instance, simply add this add-on in your buildout configuration file as follows, and run bin/buildout afterwards:

[buildout]

...

[instance]
...
eggs =
    ...
    senaite.jsonapi

With this configuration, buildout will download and install the latest published release of senaite.jsonapi from Pypi.

The routes for SENAITE LIMS content types get registered on startup. The following URL should be available after startup:

http://localhost:8080/senaite/@@API/senaite/v1

JSON Viewers and REST clients

There are plenty of add-ons for browsers that beautify the generated JSON, making it’s interpretation more comfortable for humans. Below, some plugins you can install in your browser:

Below, some applications to send POST requests to senaite.jsonapi: