Get a single device
Retrieves a single device
Path Parameters
- iri integer or string required
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- id integer
the id of the device
- slug string
the slug of the device
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
markdown object
item object[]
languageCode stringlanguageCode for the language of the markdown text. e.g.
en,de,...text stringthe markdown text
translationId integerunique identifier of the translation item
- contact string
contact information for device support
- website string
link to a website with more information about the device
- image string
the filename of the device's image that can be accessed via /images/uploads/{filename}
sensors object[]
all sensors that are compatible with the retrieved device
id integerthe id of the sensor
slug stringthe slug of the device
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
validation booleanboolean that is true if the information is validated by an admin
- 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
}
]
},
"markdown": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"contact": "string",
"website": "string",
"image": "string",
"sensors": [
{
"id": 0,
"slug": "string",
"label": {
"item": [
{
"languageCode": "string",
"text": "string",
"translationId": 0
}
]
},
"validation": true
}
],
"validation": true
}