3.5.10.1 LAN
Získání seznamu LAN zařízení
URL: | https://{{ip_addr}}/api/v1/hipmo/devices/lan |
HTTP Metoda: | GET |
Response code: | Standardní HTTP response code, ošetřuje syntaktické chyby. |
Response data: | {
"data": {
"devices": [
{
"id": 148,
"ip": "10.27.6.213",
"isActive": false,
"name": "2NIndoorCompact-5223420153"
},
...
{
"id": 242,
"ip": "10.27.21.10",
"isActive": false,
"name": "2N IP Force"
}
]
}
}
|
Nastavení sekce
URL: | https://{{ip_addr}}/api/v1/hipmo/devices/lan/{{id}} |
HTTP Metoda: | PUT |
| Path variable: | id – id zařízení |
Response code: | Standardní HTTP response code, ošetřuje syntaktické chyby. |
| Request body: | {
"id": "<integer>",
"name": "<string>",
"isActive": "<boolean>",
"ip": "<string>"
}
|
Response data: | {
"data": {
"devices": [
{
"id": 148,
"ip": "10.27.6.213",
"isActive": false,
"name": "2NIndoorCompact-5223420153"
},
...
{
"id": 242,
"ip": "10.27.21.10",
"isActive": false,
"name": "2N IP Force"
}
]
}
}
|
