Sensr REST API§

The following document represents a brief guide from the REST API offered by Sensr.

How to use§

The rest API is easily accessible from the port 9080 while Sensr is running, you can access it either from http://localhost:9080/ or http://{your-ip-here}:9080/

With our REST API you can query/set the values of configurations, send commands, or query object/zone details. These behaviours are mapped into the below resources.

Resources§

Trying to write a read-only parameter the API will result in the server returning an error value back as response. If you want to access a specific parameter category, you will need to first access the corresponding route.

Once you have chosen the correct route you will have access to the following sub-routes: