3.5.10.1 LAN

Getting list of LAN devices

URL:

https://{{ip_addr}}/api/v1/hipmo/devices/lan

HTTP method:

GET

Response code:

Standard HTTP response code, treating syntactic errors.

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"
            }
        ]
    }
}

Section setting

URL:

https://{{ip_addr}}/api/v1/hipmo/devices/lan/{{id}}

HTTP method:

PUT

Path variable:id – device ID

Response code:

Standard HTTP response code, treating syntactic errors.

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"
            }
        ]
    }
}