Create a dashboard from a spec.
Validates the spec against the dvt dashboard JSON Schema, decomposes its panels and lg-breakpoint layout into elements, and persists a new dashboard. If the spec omits id (or sets it to the all-zeros UUID placeholder 00000000-0000-0000-0000-000000000000), the server generates one and injects it into the stored spec. If id is set to an existing dashboard's id, the request fails with 409 — unless the existing dashboard's stored spec is semantically identical to the one submitted, in which case the request is treated as an idempotent replay and returns 200 with the existing dashboard (see PATCH /v1/dashboards/{id} to make an actual update instead).
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/v1/dashboards
- Auth: one of:
- API key in cookie dvt_session
- HTTP bearer
Request body
Response
Idempotent replay: the id already exists in this org with an identical spec; returns the existing dashboard unchanged (no new revision is created).
Changes
No recorded changes to this operation across all 1 revision of this API.