---
title: "PATCH /api/database/views/{view_id}/"
method: PATCH
path: "/api/database/views/{view_id}/"
tags: ["Database table views"]
---

# PATCH /api/database/views/{view_id}/

`PATCH /api/database/views/{view_id}/`

Updates the existing view. The type cannot be changed. It depends on the existing type which properties can be changed.

## Path parameters

- `view_id` integer, required

## Query parameters

- `include` string

## Headers

- `ClientSessionId` string, uuid
- `ClientUndoRedoActionGroupId` string, uuid

## Request body

- union
  - GridViewUpdate
    - `name` string
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_password` string — The new password or an empty string to remove any previous password from the view and make it publicly accessible again.
    - `ownership_type` string — Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.
    - `row_identifier_type` 'id' | 'count' — * `id` - Id * `count` - Count
    - `row_height_size` 'small' | 'medium' | 'large' — * `small` - Small * `medium` - Medium * `large` - Large
    - `frozen_column_count` integer — Number of frozen columns including the primary field.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - GalleryViewUpdate
    - `name` string
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_password` string — The new password or an empty string to remove any previous password from the view and make it publicly accessible again.
    - `ownership_type` string — Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.
    - `card_cover_image_field` integer, nullable — References a file field of which the first image must be shown as card cover image.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - FormViewUpdate
    - `name` string
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_password` string — The new password or an empty string to remove any previous password from the view and make it publicly accessible again.
    - `ownership_type` string — Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.
    - `title` string — The title that is displayed at the beginning of the form.
    - `description` string — The description that is displayed at the beginning of the form.
    - `mode` 'form' | 'survey' — * `form` - form * `survey` - survey
    - `cover_image` UserFile
      - `size` integer, required
      - `mime_type` string
      - `is_image` boolean
      - `image_width` integer, nullable
      - `image_height` integer, nullable
      - `uploaded_at` string, date-time, required
      - `url` string, uri, required
      - `thumbnails` object, required
      - `name` string, required
      - `original_name` string, required
    - `logo_image` UserFile
      - `size` integer, required
      - `mime_type` string
      - `is_image` boolean
      - `image_width` integer, nullable
      - `image_height` integer, nullable
      - `uploaded_at` string, date-time, required
      - `url` string, uri, required
      - `thumbnails` object, required
      - `name` string, required
      - `original_name` string, required
    - `submit_text` string — The text displayed on the submit button.
    - `submit_action` 'MESSAGE' | 'REDIRECT' — * `MESSAGE` - Message * `REDIRECT` - Redirect
    - `submit_action_message` string — If the `submit_action` is MESSAGE, then this message will be shown to the visitor after submitting the form.
    - `submit_action_redirect_url` string, uri — If the `submit_action` is REDIRECT,then the visitors will be redirected to the this URL after submitting the form.
    - `receive_notification_on_submit` boolean, required — A boolean indicating if the current user should be notified when the form is submitted.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - KanbanViewUpdate
    - `name` string
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_password` string — The new password or an empty string to remove any previous password from the view and make it publicly accessible again.
    - `ownership_type` string — Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.
    - `single_select_field` integer, nullable
    - `card_cover_image_field` integer, nullable — References a file field of which the first image must be shown as card cover image.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - CalendarViewUpdate
    - `name` string
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_password` string — The new password or an empty string to remove any previous password from the view and make it publicly accessible again.
    - `ownership_type` string — Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.
    - `date_field` integer, nullable
    - `ical_feed_url` string, required — Read-only field with ICal feed endpoint. Note: this url will not be active if ical_public value is set to False.
    - `ical_public` boolean, nullable — A flag to show if ical feed is exposed. Set this field to True when modifying this resource to enable ICal feed url.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - TimelineViewUpdate
    - `name` string
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_password` string — The new password or an empty string to remove any previous password from the view and make it publicly accessible again.
    - `ownership_type` string — Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.
    - `start_date_field` integer, nullable
    - `end_date_field` integer, nullable
    - `timescale` 'day' | 'week' | 'month' | 'year' — * `day` - Day * `week` - Week * `month` - Month * `year` - Year
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.

## Response `200`

- union
  - GridViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required — The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required — The field of which the value must be compared to the filter value.
      - `type` string, required — Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string — The filter value that must be compared to the field's value.
      - `preload_values` object, required — Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable — The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
      - `view` integer, required — The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required — The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required — The field that must be sorted on.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required — The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required — The field that must be grouped by.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `width` integer — The pixel width of the group by in the related view.
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer — The view to which the decoration applies. Each view can have his own decorations.
      - `type` string — The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string — The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer — The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean — Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required — The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable — Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required — Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean — Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `row_identifier_type` 'id' | 'count' — * `id` - Id * `count` - Count
    - `row_height_size` 'small' | 'medium' | 'large' — * `small` - Small * `medium` - Medium * `large` - Large
    - `frozen_column_count` integer — Number of frozen columns including the primary field.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - GalleryViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required — The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required — The field of which the value must be compared to the filter value.
      - `type` string, required — Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string — The filter value that must be compared to the field's value.
      - `preload_values` object, required — Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable — The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
      - `view` integer, required — The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required — The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required — The field that must be sorted on.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required — The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required — The field that must be grouped by.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `width` integer — The pixel width of the group by in the related view.
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer — The view to which the decoration applies. Each view can have his own decorations.
      - `type` string — The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string — The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer — The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean — Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required — The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable — Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required — Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean — Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `card_cover_image_field` integer, nullable — References a file field of which the first image must be shown as card cover image.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - FormViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required — The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required — The field of which the value must be compared to the filter value.
      - `type` string, required — Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string — The filter value that must be compared to the field's value.
      - `preload_values` object, required — Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable — The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
      - `view` integer, required — The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required — The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required — The field that must be sorted on.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required — The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required — The field that must be grouped by.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `width` integer — The pixel width of the group by in the related view.
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer — The view to which the decoration applies. Each view can have his own decorations.
      - `type` string — The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string — The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer — The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean — Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required — The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable — Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required — Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean — Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `title` string — The title that is displayed at the beginning of the form.
    - `description` string — The description that is displayed at the beginning of the form.
    - `mode` 'form' | 'survey' — * `form` - form * `survey` - survey
    - `cover_image` UserFile
      - `size` integer, required
      - `mime_type` string
      - `is_image` boolean
      - `image_width` integer, nullable
      - `image_height` integer, nullable
      - `uploaded_at` string, date-time, required
      - `url` string, uri, required
      - `thumbnails` object, required
      - `name` string, required
      - `original_name` string, required
    - `logo_image` UserFile
      - `size` integer, required
      - `mime_type` string
      - `is_image` boolean
      - `image_width` integer, nullable
      - `image_height` integer, nullable
      - `uploaded_at` string, date-time, required
      - `url` string, uri, required
      - `thumbnails` object, required
      - `name` string, required
      - `original_name` string, required
    - `submit_text` string — The text displayed on the submit button.
    - `submit_action` 'MESSAGE' | 'REDIRECT' — * `MESSAGE` - Message * `REDIRECT` - Redirect
    - `submit_action_message` string — If the `submit_action` is MESSAGE, then this message will be shown to the visitor after submitting the form.
    - `submit_action_redirect_url` string, uri — If the `submit_action` is REDIRECT,then the visitors will be redirected to the this URL after submitting the form.
    - `receive_notification_on_submit` boolean, required — A boolean indicating if the current user should be notified when the form is submitted.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - KanbanViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required — The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required — The field of which the value must be compared to the filter value.
      - `type` string, required — Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string — The filter value that must be compared to the field's value.
      - `preload_values` object, required — Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable — The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
      - `view` integer, required — The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required — The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required — The field that must be sorted on.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required — The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required — The field that must be grouped by.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `width` integer — The pixel width of the group by in the related view.
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer — The view to which the decoration applies. Each view can have his own decorations.
      - `type` string — The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string — The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer — The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean — Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required — The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable — Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required — Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean — Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `single_select_field` integer, nullable
    - `card_cover_image_field` integer, nullable — References a file field of which the first image must be shown as card cover image.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - CalendarViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required — The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required — The field of which the value must be compared to the filter value.
      - `type` string, required — Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string — The filter value that must be compared to the field's value.
      - `preload_values` object, required — Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable — The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
      - `view` integer, required — The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required — The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required — The field that must be sorted on.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required — The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required — The field that must be grouped by.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `width` integer — The pixel width of the group by in the related view.
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer — The view to which the decoration applies. Each view can have his own decorations.
      - `type` string — The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string — The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer — The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean — Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required — The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable — Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required — Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean — Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `date_field` integer, nullable
    - `ical_feed_url` string, required — Read-only field with ICal feed endpoint. Note: this url will not be active if ical_public value is set to False.
    - `ical_public` boolean, nullable — A flag to show if ical feed is exposed. Set this field to True when modifying this resource to enable ICal feed url.
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.
  - TimelineViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required — The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required — The field of which the value must be compared to the filter value.
      - `type` string, required — Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string — The filter value that must be compared to the field's value.
      - `preload_values` object, required — Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable — The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR' — * `AND` - And * `OR` - Or
      - `view` integer, required — The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required — The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required — The field that must be sorted on.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required — The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required — The field that must be grouped by.
      - `order` 'ASC' | 'DESC' — * `ASC` - Ascending * `DESC` - Descending
      - `width` integer — The pixel width of the group by in the related view.
      - `type` string — Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required — Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer — The view to which the decoration applies. Each view can have his own decorations.
      - `type` string — The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string — The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer — The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean — Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required — The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable — Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean — Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required — Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean — Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `start_date_field` integer, nullable
    - `end_date_field` integer, nullable
    - `timescale` 'day' | 'week' | 'month' | 'year' — * `day` - Day * `week` - Week * `month` - Month * `year` - Year
    - `public` boolean — Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required — The unique slug that can be used to construct a public URL.

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
