Request body to create a view in a database or a widget in a dashboard.
| Property | Type | Description |
|---|---|---|
| configuration | Any |
View presentation configuration. |
| create_database | Any |
Create a new linked database block on a page ( |
| data_source_id | String |
The data source the view is scoped to. |
| database_id | String |
Database to create the view in. Mutually exclusive with view_id and create_database. |
| filter | Any |
Filter (same format as a data source query filter). |
| name | String |
The name of the view. |
| placement | Widget_Placement |
Placement in a dashboard. |
| position | View_Position |
Placement in the view tab bar. |
| quick_filters |
Quick filters keyed by property name or ID. |
|
| sorts |
Sorts to apply. |
|
| type | String |
|
| view_id | String |
Dashboard view to add this view to as a widget. |