Skip to content

createSensor

Mutation

Creates a new Sensor.

Response

Returns Sensor

Arguments

NameTypeDescription
sensorSensorInput!

Arguments to create a new sensor.

Example

mutation createSensor(
$sensor: SensorInput!
) {
createSensor(
sensor: $sensor
) {
id
name
description
type
position {
type
coordinates
crs {
type
properties
}
}
address
metadata
}
}