Uploads a new file by providing an url.
The file needs to be a public available url.
The file size must not exceed 100MB.
Path parameters
userId
The id of the user the file is linked to.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
url
The public url to the file.
name
The name of the file.
description
The description of the file.
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.