Add Widgets to Dashboard
Changed onAppend typed widget definitions. Supported definitions from an editable read can be copied; supplied widget IDs do not retain existing widgets. Include a revision to reject an append after concurrent dashboard changes.
Request
- Base URLhttps://statsigapi.net
- URLhttps://statsigapi.net/console/v1/dashboards/{id}/widgets
- AuthAPI key in header STATSIG-API-KEY
Path parameters
id
Request body
Response
Add dashboard widgets response
Example response
{
"message": "Dashboard Widgets Added Successfully",
"data": {
"ids": [
"widget_id"
],
"revision": "d1.revision"
}
}Changes
- breaking
removed
subschema #1subschema #2subschema #3subschema #4from the/request propertyoneOflist - breaking
the
/request property type changed fromobjectto no type - warning
removed the request property
// - warning
removed the request property
// - info
added the new optional request property
- info
the request property
became nullable - info
added
subschema #1subschema #2subschema #3subschema #4to the/request propertyoneOflist - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5to the/request propertyoneOflist - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
//to the response with the status
- breaking