/config/local/sensor

The sensor configurations.

Get /config/local/sensor

SecurityApiKey
Request
query Parameters
max-depth
integer >= 1

Limit output depth of the response. See Max-Depth.

Example: max-depth=2
filter
string

Response filter string. See Filter-Spec.

Example: filter={foo,bar}
Responses
200

Normal response.

401

Unauthorized response.

get/config/local/sensor
Request samples
Response samples
application/json
{
  • "result": {
    },
  • "error": "Error message (present if an error occurred)."
}

Replace /config/local/sensor

SecurityApiKey
Request
Request Body schema: application/json
additional property
object (configLocalSensorName)

The sensor configuration.

Responses
200

Normal response.

401

Unauthorized response.

put/config/local/sensor
Request samples
application/json
{
  • "L1": {
    },
  • "S1": {
    },
  • "S2": {
    }
}
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/local/sensor

SecurityApiKey
Request
Request Body schema: application/json
additional property
object (configLocalSensorName)

The sensor configuration.

Responses
200

Normal response.

401

Unauthorized response.

post/config/local/sensor
Request samples
application/json
{
  • "L1": {
    },
  • "S1": {
    },
  • "S2": {
    }
}
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/local/sensor

Reset configuration to all sensors off.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/local/sensor
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}