Sensor Settings

Sensor settings management

Get settings for sensor

get
/sensor-settings

Returns settings for all sensors owned by the authenticated user. Optionally filter by a single sensor MAC address using the sensor query parameter.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
sensorstringOptional

Filter results to a single sensor by its MAC address (e.g. C6:F1:E7:D3:DA:11).

Example: C6:F1:E7:D3:DA:11Pattern: ^[0-9A-F]{2}(:[0-9A-F]{2}){5}$
Responses
200

Sensor settings fetched successfully

application/json
get
/sensor-settings

Configure a setting for a sensor

post
/sensor-settings

Creates a new setting for given sensor

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
sensorstringRequired

MAC address of the sensor (e.g. C6:F1:E7:D3:DA:11)

Pattern: ^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$
valuestring[]Required

Array of strings Example: ["\"CuriousSetting\""]

typestring[]Required

Array of setting types (strings)

timestampinteger · int64Optional

Optional epoch timestamp for the setting. If missing, it is assumed to be the current time.

Responses
200

Setting stored or updated successfully

application/json
post
/sensor-settings

Last updated