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
Request
- Base URLhttps://api.baserow.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.baserow.io/api/database/views/{view_id}/duplicate/
- AuthHTTP bearer
Path parameters
Duplicates the view related to the provided value.
Headers
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.
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
Changes
- breaking
the
////response property's maxLength was unset from2000for the response status - breaking
added
subschema #1subschema #2to the////response propertyoneOflist for the response status - breaking
the
////response's property type changed fromstringto no type, and format fromurito no format for status
- breaking
- info
the endpoint scheme security
UserSource JWTwas removed from the API - info
added the optional property
////to the response with the status
- info