Replace a widget
Changed onReplaces a widget's definition. It keeps its id and its place on the dashboard.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/dashboard/{dashboardId}/widget/{widgetId}
- AuthHTTP bearer
Path parameters
The dashboard ID
The widget ID
Request body
Example request
{
"name": "Sentiment",
"display": "LINE",
"size": "LARGE",
"interval": "DAY",
"measures": [
{
"metric": "sentiment_score",
"aggregation": "AVG"
}
]
}Response
The updated widget
Changes
- breaking
the response property
/////became optional for the status - breaking
the response property
///became optional for the status - breaking
the response property
/////became optional for the status - warning
added the new
IS_NOT_SETenum value to the/////response property for the response status - warning
added the new
IS_NOT_SETenum value to the///response property for the response status - warning
added the new
IS_NOT_SETenum value to the/////response property for the response status - warning
added the new
IS_NOT_SETenum value to the///response property for the response status - warning
added the new
IS_SETenum value to the/////response property for the response status - warning
added the new
IS_SETenum value to the///response property for the response status - warning
added the new
IS_SETenum value to the/////response property for the response status - warning
added the new
IS_SETenum value to the///response property for the response status - info
the request property
////became optional - info
the request property
//became optional - info
the request property
////became optional - info
added the new
IS_NOT_SETenum value to the request property//// - info
added the new
IS_NOT_SETenum value to the request property// - info
added the new
IS_NOT_SETenum value to the request property//// - info
added the new
IS_NOT_SETenum value to the request property// - info
added the new
IS_SETenum value to the request property//// - info
added the new
IS_SETenum value to the request property// - info
added the new
IS_SETenum value to the request property//// - info
added the new
IS_SETenum value to the request property//
- breaking
- info
endpoint added
- info