Sensor Settings
Sensor settings management
Returns settings for all sensors owned by the authenticated user. Optionally filter by a single sensor MAC address using the sensor query parameter.
Filter results to a single sensor by its MAC address (e.g. C6:F1:E7:D3:DA:11).
C6:F1:E7:D3:DA:11Pattern: ^[0-9A-F]{2}(:[0-9A-F]{2}){5}$Sensor settings fetched successfully
UNAUTHORIZED - Auth token missing
FORBIDDEN - User does not have access to this sensor
NOT FOUND - Sensor does not exist, or it exists but user does not have permission to view this sensor
Creates a new setting for given sensor
MAC address of the sensor (e.g. C6:F1:E7:D3:DA:11)
^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$Array of strings
Example: ["\"CuriousSetting\""]
Array of setting types (strings)
Optional epoch timestamp for the setting. If missing, it is assumed to be the current time.
Setting stored or updated successfully
INVALID - Missing or malformed fields (sensor, value, or type missing; sensor not MAC; value not JSON array; type not array)
UNAUTHORIZED - Auth token missing
FORBIDDEN - User does not have permission to edit this sensor
NOT FOUND - Sensor does not exist, or it exists but user does not have permission to view this sensor
CONFLICT - Setting with same or newer timestamp already exists
Last updated