Replace Widgets on Dashboard
Changed onReconcile the complete widget list by ID. Read view=editable or view=references first and include its revision. Preserve widgets with {id}; list exactly the omitted widget IDs in delete_widget_ids to confirm deletion. A revision conflict requires a fresh read and reapplication of the intended edit.
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
Replace dashboard widgets response
Example response
{
"message": "Dashboard Widgets Replaced Successfully",
"data": {
"ids": [
"widget_id"
],
"revision": "d1.revision",
"deleted_ids": []
}
}Changes
- breaking
added the new required request property
- 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
removed discriminator from
/request property - info
added
subschema #3to the/request propertyoneOflist - info
added
subschema #1subschema #2subschema #3subschema #4to the/request propertyoneOflist - info
added the non-success response with the status
- 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 - info
added the required property
//to the response with the status
- breaking