index REST API Data exchange format

Data exchange format

The API support JSON as input/output.

For information about JSON goto Wikipidia - JSON.

Other formats may be avaliable for the individual ressources. Refer to the detailed documentation for the ressource for this information. Find link to the detailed documentation here

Content negotiation

Content negotiation is a mechanism defined in the HTTP specification that makes it possible to serve different versions of a document. Wikipidia - Content negotiation

To get a JSON representation of the data you have the following two options:

Use the HTTP header "Accept: application/json"
$ curl -X GET -H "Accept: application/json"
Or use the '.json' prefix
$ curl -X GET