REST API Usage GuideΒΆ

Welcome to the Appliance REST API Guide. This is the API for managing the appliance via curl or other web based calls. The examples in this documentation are generic. To use these API commands via curl use the following command prefix:

External Request

Calling the API from outside the appliance.


Container Request

Containers have a secret key that can be used for authentication.

curl -i -X HTTP_METHOD -u `cat /opt/appliance/api/api_key.txt`:NONE

Sending JSON

Some API calls require sending JSON data. This requires added options to the curl commands.

-H "Content-Type: application/json" ... -d '{"key": "value"}'