|  Developer
Updated on May 6, 2022

hub.scenes.global.list

  • Version: 1.0
  • Classes: UI
  • Title: Global Scene categories
  • Description: Get list of scenes are created on controller.
Edit
Field Type Required Description
onlyId boolean set to get list of scene IDs
Edit
The array of the scene objects which are described at hub.scenes.global.create
Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.global.list",
    "params": {}
}				
			
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.global.list",
    "params": {
        "onlyId": true
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
         "scenes":
        [
            {
                "_id": "5c7ff48b7f00002a07a408e3",
                "enabled": true,
                "tag": "testRule/1",
                "execPolicy": "check_result",
                "then" : [
                ],
                "when": [
                ]
            },
            {
                "_id": "5c7ff48b7f00002a07a408e4",
                "enabled": true,
                "tag": "testRule/3",
                "execPolicy": "check_result",
                "then" : [
                ],
                "when": [
                ]
            },
            {
                "_id": "5c7ff48b7f00002a07a408e5",
                "enabled": false,
                "tag": "testRule/4",
                "execPolicy": "check_result",
                "then" : [
                ],
                "when": [
                ]
            }
        ]
  }
}				
			
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
         "scenes":
        [
            {
                "_id": "5c7ff48b7f00002a07a408e3"
            },
            {
                "_id": "5c7ff48b7f00002a07a408e4"
            },
            {
                "_id": "5c7ff48b7f00002a07a408e5"
            }
        ]
  }
}