hub.setting.value.set
Edit
Field | Type | Required | Description |
---|---|---|---|
name | string | + | Setting name |
value | depends on setting valueType | + | Setting value |
Edit
Edit
Code | Message | Data |
---|---|---|
-32600 | Bad request, |
rpc.params.notfound. |
-32500 | Object not found | generic.object.not.found |
-32602 | Value is not in valid range | rpc.params.range.invalid.status |
Edit
Broadcast | Description |
---|---|
hub.setting.updated | Broadcast is sent if value was updated |
Edit
Edit
“`json
{
“method”: “hub.setting.value.set”,
“id”: “ID“,
“params”: {
“name”: “first_start”,
“value”: false
}
}
**response**:
```json
{
"error": null,
"id": "_ID_",
"method": "hub.setting.value.set",
"result": {}
}
Edit
{
"id": "ui_broadcast",
"msg_subclass": "hub.setting.updated",
"result": {
"name": "first_start",
"value": false
}
}