Database table views

Duplicates an existing view if the user has access to it. When a view is duplicated everything is copied except:

  • The name is appended with the copy number. Ex: ViewName->ViewName(2) and View(2)->View(3)
  • If the original view is publicly shared, the new view will not be shared anymore
post/api/database/views/{view_id}/duplicate/

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}/duplicate/
  • Auth
    HTTP bearer

Path parameters

view_idinteger required

Duplicates the view related to the provided value.

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.

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