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"
}
]
}
Field | Description |
---|---|
result | Returned fields are similar to hub.room.list result |
If requested room doesn't exist, returns error.