Skip to main content

Create a SensorSpec.

Create a SensorSpec.

Request Body REQUIRED
id string REQUIRED

The name of the sensor.

settings_schema object
$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
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)
allOf (circular)[]
anyOf (circular)[]
oneOf (circular)[]
not (circular)
data_schema object
$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
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)
allOf (circular)[]
anyOf (circular)[]
oneOf (circular)[]
not (circular)
Responses
200

Success

Schema
data object
default

Error

Schema
error string