Skip to main content

Update a SensorSpec.

Update a SensorSpec.

Path Parameters
id string REQUIRED

This parameter is not a unique ID and is a reverse DNS format string (i.e. "org.digitalpsych.example"). The prefixes "lamp." and "digital.lamp." are reserved for internal use only.

Request Body REQUIRED
id string REQUIRED

The name of the sensor.

settings_schema object

The settings definition of a SensorSpec.

$id uri-reference
$schema uri
$ref uri-reference
$comment string
title string
description string
readOnly boolean
examples undefined[]
multipleOf number
maximum number
exclusiveMaximum number
minimum number
exclusiveMinimum number
maxLength integer
minLength integer
pattern regex
additionalItems (circular)
items (circular)
maxItems integer
minItems integer
uniqueItems boolean
contains (circular)
maxProperties integer
minProperties integer
required string[]
additionalProperties (circular)
definitions object
properties object
patternProperties object
dependencies object
propertyNames (circular)
enum undefined[]
type
format string
contentMediaType string
contentEncoding string
if (circular)
then (circular)
else (circular)
anyOf (circular)[]
oneOf (circular)[]
not (circular)
data_schema object

The data definition of a SensorSpec.

$id uri-reference
$schema uri
$ref uri-reference
$comment string
title string
description string
readOnly boolean
examples undefined[]
multipleOf number
maximum number
exclusiveMaximum number
minimum number
exclusiveMinimum number
maxLength integer
minLength integer
pattern regex
additionalItems (circular)
items (circular)
maxItems integer
minItems integer
uniqueItems boolean
contains (circular)
maxProperties integer
minProperties integer
required string[]
additionalProperties (circular)
definitions object
properties object
patternProperties object
dependencies object
propertyNames (circular)
enum undefined[]
type
format string
contentMediaType string
contentEncoding string
if (circular)
then (circular)
else (circular)
anyOf (circular)[]
oneOf (circular)[]
not (circular)
Responses
200

Success

Schema OPTIONAL
data object OPTIONAL
default

Error

Schema OPTIONAL
error string OPTIONAL