Hello Community,
How I can update the threshold field on the tophosts widget? I tried like below but that will update the field columnsthresholds.threshold.14.1 but also will remove all the other fields.
Any help is appreciated.
Thank you.
Cristian
How I can update the threshold field on the tophosts widget? I tried like below but that will update the field columnsthresholds.threshold.14.1 but also will remove all the other fields.
Code:
{
"jsonrpc": "2.0",
"method": "dashboard.update",
"params": {
"dashboardid": 162,
"pages": [
{
"dashboard_pageid": 1327
},
{
"dashboard_pageid": 1334,
"widgets": [
{
"widgetid" : 3535,
"type": "tophosts",
"fields" : [
{
"type": 1,
"name": "columnsthresholds.threshold.14.1",
"value": "9700"
}
]
}
]
}
]
},
"auth" : "{{auth}}",
"id": 2
}
Thank you.
Cristian