Sensors
Fields with * are required.
Getting sensors
Get sensors.
GET
https://api.control.serenicity.fr/api/v1/sensors
Return the list of your sensors.
Getting a specific sensor
Get sensor.
GET
https://api.control.serenicity.fr/api/v1/sensors/:sensor_id
Return one of your sensors.
Path Parameters
Name
Type
Description
sensor_id*
Integer
Getting statistics
The statistics metrics are grouped by month for each sensor.
The start_of_month_tz
field represents the start time of the month at the local time of the sensor (defined by the site's time zone).
Get sensor statistics.
GET
https://api.control.serenicity.fr/api/v1/sensors/:sensor_id/statistics
Return the statistics for one of your sensors.
Path Parameters
Name
Type
Description
sensor_id*
String
Last updated