Get a single sensor
Get a single sensor
Path Parameters
- iri integer or string required
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- 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[]
all sensor elements of the given sensor that describe which phenomena can be measured by the sensor. It also provides the unit and accuracy of that measured phenomenon
id integerthe id of the sensor
accuracy floataccuracy of the the phenomenon measured by the sensor
accuracyUnit object
id integeridentifier of the unit object
slug stringslug of the unit object
name stringname of the unit
notation stringthe notation of the unit (abreviation)
validation booleanboolean that is true if the information is validated by an admin
descriptionId integerthe descriptionId of the units description
phenomena object
id integeridentifier of the phenomenon object
slug stringslug of the phenomenon object
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
sensor object
id integeridentifier of the sensor object
slug stringslug of the sensor object
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
devices object[]
devices that contain the retrieved sensor
id integerthe id of the device
label object
item object[]
languageCode stringlanguageCode for the language of the markdown text. e.g.
en,de,...text stringthe label text
translationId integerunique identifier of the translation item
validation booleanboolean that is true if the information is validated by an admin
- price integer
the price of the sensor
- image string
the filename of the image that can be accessed via /images/uploads/{filename}
- manufacturer string
the name of the manufacturer of the sensor e.g.
Bosch,Truebener GmbHetc. - lifePeriod integer
the estimated life period of the sensor in days
- datasheet string
a link to the datasheet of the retrieved sensor
- validation boolean
boolean that is true if the information is validated by an admin
{
"id": 0,
"slug": "string",
"label": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"description": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"elements": [
{
"id": 0,
"accuracyUnit": {
"id": 0,
"slug": "string",
"name": "string",
"notation": "string",
"validation": true,
"descriptionId": 0
},
"phenomena": {
"id": 0,
"slug": "string",
"label": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
}
},
"sensor": {
"id": 0,
"slug": "string"
},
"label": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
}
}
],
"devices": [
{
"id": 0,
"label": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"validation": true
}
],
"price": 0,
"image": "string",
"manufacturer": "string",
"lifePeriod": 0,
"datasheet": "string",
"validation": true
}