v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
documentFiles

Uploads a new version of the document file with the specified id.

Uploads a new version of an document file. Use this to upload a file as a form value along with the basic file meta data. The file size must not exceed 1GB.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

post/documents/{documentId}/files/{fileId}/versions

Path parameters

documentIdstring uuid required

The id of the document.

fileIdstring uuid required

The id of the file.

Headers

Authorizationstring required

Bearer authentication

Response

OK

idstring uuid

The id of the file version.

fileInfoIdstring uuid

The id of the file this version belongs to.

versionnumber double

The version of the file.

sizeinteger

The size of the file, in bytes.

widthnumber double nullable

The width if this is an image file.

heightnumber double nullable

The height if this is an image file.

createdOnstring date-time

The date this file version was created.

createdBystring uuid

The id of the user who created this file version.

updatedOnstring date-time

The date this file version was last modified.

updatedBystring uuid

The id of the user who last modified this file version.