Copies the file to a new comment.
Copies the file to a new comment (meta and content).
Path parameters
commentId
The id of the comment.
fileId
The id of the file.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
entityId
The id of the entity the file should be linked to.
entityType
The type of the linked entity.
Response
OK
name
The user-specified name of the file.
description
The description of the file.
id
The id of the file info.
entityId
The id of the linked entity.
fileName
The name of the file.
entityType
The name of the linked entity type.
mimeType
The MIME type of the file.
createdOn
The date this file was created.
createdBy
The id of the user who created this file.
updatedOn
The date this file was last modified.
updatedBy
The id of the user who last modified this file.
fileVersions
List of all versions.
isCommentFile
Whether the file is related to a comment.
externalProvider
The external provider for the file. Like 'google' or 'onedrive'.
externalFileUrl
The file url of the external provider.
isHiddenForConnectUsers
Whether the file is hidden for connect users.