Get all sensors of a device
Retrieves all sensors of a single device
Path Parameters
- iri integer or string required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
the id of the sensor
- slug string
the slug of the sensor
label object
item object[]
languageCode stringlanguageCode for the language of the label. e.g.
en,de,...text stringthe label text
translationId integerunique identifier of the translation item
description object
item object[]
languageCode stringlanguageCode for the language of the description. e.g.
en,de,...text stringthe description text
translationId integerunique identifier of the translation item
elements object[]
id integerid of the sensorElement
accuracy numberthe accuracy with which the phenomenon is measured
sensorId integerid of the sensor the sensor Element belongs to
phenomenonId integerthe id of the measured phenomenon
unitId integerthe id of the unit of the measured phenomenon
- image string
the filename of the sensor's image that can be accessed via /images/uploads/{filename}
[
{
"id": 0,
"slug": "string",
"label": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"description": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"elements": [
{
"id": 0,
"accuracy": 0,
"sensorId": 0,
"phenomenonId": 0,
"unitId": 0
}
],
"image": "string"
}
]