hub.favorite.list
Connection type:
- Get list of favorites devices.
Edit
{
"method": "hub.favorite.list",
"id": "_ID_",
"params": {
"request": [
"devices",
"items",
"rules"
]
}
}
Filed | Type | Required | Description |
---|---|---|---|
request | Array | – | Array of requesting data. Possible values: , , . |
Edit
{
"error": null,
"id": "_ID_",
"result": {
"favorites": {
"devices": [_DEVICE_ID_],
"items": [_ITEM_ID_],
"rules": [_RULE_ID_]
}
}
}
Filed | Description |
---|---|
result.favorites.devices (optional) | Array of favorite Devices Ids |
result.favorites.items (optional) | Array of favorite Items Ids |
result.favorites.rules (optional) | Array of favorite Rules Ids |