Database table views

Copies the requested configuration categories, the filters or sorts for example, of another view in the same table into this view, replacing this view's existing configuration of those categories. Only categories supported by both view types can be copied. The whole copy can be reverted with a single undo.

post/api/database/views/{view_id}/copy-configuration/

Request

  • Base URL
    https://api.baserow.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.baserow.io/api/database/views/{view_id}/copy-configuration/
  • Auth
    HTTP bearer

Path parameters

view_idinteger required

The view to copy the configuration into.

Headers

ClientSessionIdstring uuid

An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.

ClientUndoRedoActionGroupIdstring uuid

An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.

Request body

source_view_idinteger required

The id of the view in the same table to copy the configuration from.

categoriesCategoriesEnum[] required

The configuration categories that must be copied. Only categories supported by both the source and destination view type are accepted.

Response

OR
OR
OR
OR
OR

Changes

    • breaking

      the //// response property's maxLength was unset from 2000 for the response status

    • breaking

      added subschema #1 subschema #2 to the //// response property oneOf list for the response status

    • breaking

      the //// response's property type changed from string to no type, and format from uri to no format for status

    • info

      the endpoint scheme security UserSource JWT was removed from the API

    • info

      added the optional property //// to the response with the status