Edit

1. Get the full list

Edit
				
					{
    "id": "__ID__",
    "api": "1.0",
    "method": "hub.scenes.item.groups.list",
    "params": {
    }
}				
			
Edit
				
					{
  "api": "1.0",
  "error": null,
  "id": "633216245ab7be12415365c4",
  "result": {
    "itemGroups": [
      {
        "_id": "633216245ab7be12415365c4",
        "name": "switched",
        "itemNames": [ "switch" ],
        ... all oher fields ...
        "persistent": false
      }
    ],
    "version": 2534567890
  }
}				
			
Edit

1. Optimised request: client has item groups list of specific version already and asks about the changed one:

Edit
				
					{
  "id": "__ID__",
  "api": "1.0",
  "method": "hub.scenes.item.groups.list",
  "params": {
    "version": 24
  }
}				
			
Edit
				
					{
"api": "1.0",
"error": null,
"id": "633216245ab7be12415365c4",
"result": {
"version": 24
}
}				
			

Note: By default, returns full list of item group objects. Note: The can be used to avoid passing data from a controller to a client, if the client already has the same version of data