|  Developer
Updated on November 21, 2021

hub.room.get

  • Get room.
Edit
				
					{
    "method": "hub.room.get",
       "id": "_ID_"
    "params": {
        "_id": "_OBJECT_ID_"
    }
}				
			
Field Description
_id id of target room
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": [
        {
            "_id": "_OBJECT_ID_",
            "name": "Living Room"
        }
    ]
}				
			
FieldDescription
resultReturned fields are similar to hub.room.list result

If requested room doesn't exist, returns error.