Copies the file to a new workspace.

Copies the file to a new workspace (meta and content).

Path parameters

workspaceIdUUIDRequired
The id of the workspace.
fileIdUUIDRequired
The id of the file.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
entityIdUUIDRequired
The id of the entity the file should be linked to.
entityTypestringRequired>=1 character
The type of the linked entity.

Response

OK
namestring or null or null

The user-specified name of the file.

descriptionstring or null or null
The description of the file.
idUUID or null
The id of the file info.
entityIdUUID or null or null
The id of the linked entity.
fileNamestring or null or null
The name of the file.
entityTypestring or null or null
The name of the linked entity type.
mimeTypestring or null or null
The MIME type of the file.
createdOndatetime or null
The date this file was created.
createdByUUID or null
The id of the user who created this file.
updatedOndatetime or null
The date this file was last modified.
updatedByUUID or null
The id of the user who last modified this file.
fileVersionslist of objects or null
List of all versions.
isCommentFileboolean or null
Whether the file is related to a comment.
externalProviderstring or null or null
The external provider for the file. Like 'google' or 'onedrive'.
externalFileUrlstring or null or null
The file url of the external provider.
isHiddenForConnectUsersboolean or null
Whether the file is hidden for connect users.