Edit

Get the full list

Edit
				
					{
    "id": "_ID_",
    "api": "1.0",
    "method": "hub.device.item.group.expand",
    "params": {
        "deviceGroupId": "642e5cf500000011965a8af5",
        "showItems": true
    }
}
				
			
Edit
				
					{
   "error": null,
    "id": "_ID_",
    "method": "hub.device.item.group.expand",
    "result": {
        "devices": [
            {
                "deviceId": "641828aa0000000d8434d07c",
                "items": [
                    {
                        "itemId": "641829570000000d8434d07d",
                        "name": "switch1"
                    },
                    {
                        "itemId": "641829730000000d8434d07e",
                        "name": "switch2"
                    },
                    {
                        "itemId": "642ea4ba000000470f44e610",
                        "name": "switch3"
                    }
                ],
                "name": "TestSwitch"
            }
        ],
        "version": "37095e6a9af5f92895099c7ddddd3c23caface71"
    }
}				
			
Edit

Optimised request: client has devices list of specific version already and asks about the changed one:

Edit
				
					{
    "id": "_ID_",
    "api": "1.0",
    "method": "hub.device.item.group.expand",
    "params": {
        "deviceGroupId": "642e5cf500000011965a8af5",
        "version": "37095e6a9af5f92895099c7ddddd3c23caface71"
    }
}				
			
Edit
				
					{
    "api": "1.0",
    "error": null,
    "id": "_ID_",
    "result": {
    "version": 9127155317259983000
    }
}