dashboards
Add an element to a page.
The granular create: adds one panel — validated against the element schema — without round-tripping the whole spec. The element is placed into the page's layout at (x, y, w, h) on every breakpoint, the page is versioned, and a new dashboard revision is written. Refused on legacy (pre-decomposition) dashboards (409 legacy-dashboard). Editor or above.
post/v1/dashboards/{id}/pages/{pageId}/elements
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/v1/dashboards/{id}/pages/{pageId}/elements
- Auth: one of:
- API key in cookie dvt_session
- HTTP bearer
Request body
Example request
{
"type": "chart:bar"
}Response
Element created (version 1), with themeContext.
Example response
{
"data": {
"type": "chart:bar"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.