Add a widget
Changed onAdds a widget to the top of a dashboard. Its name must be unique on the dashboard.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/dashboard/{dashboardId}/widget
- AuthHTTP bearer
Path parameters
The dashboard ID
Request body
Example request
{
"name": "Sentiment",
"display": "LINE",
"size": "LARGE",
"interval": "DAY",
"measures": [
{
"metric": "sentiment_score",
"aggregation": "AVG"
}
]
}Response
The created 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