Copies the file to a new project.

Copies the file to a new project (meta and content). <Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

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

Path parameters

projectIdstringRequiredformat: "uuid"
The id of the project.
fileIdstringRequiredformat: "uuid"
The id of the file.

Request

The model to change the entity information of the file.
entityIdstringRequiredformat: "uuid"
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

The user-specified name of the file.

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