K8凯发(中国)

    读取逻辑分组协议:
    请求

    http://ip:port/QueryGroup?username={$username}&password={$password}

    回复

    {

    "result" :{$result},

    "items": [{

    "pid" :{$pid},

    "index" :{$index},

    "id" :{$id},

    "name" :{$name},

    "channels" :[{

    "deviceid": {$deviceid},

    "channel":{$channel}

    }],

    "items": [{...}]

    }]

    }

    username 用户名

    password 密码

    pid 分组的父 ID, 当为顶层分组时为-1

    index 在列表中的排序顺序, 0 表示没有进行 逻辑排序

    id 分组的 ID, 数据库产生, 唯一值

    name 分组的名称

    deviceid 设备 ID

    channel 通道号