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.

Path parameters

documentIdstringRequiredformat: "uuid"
The id of the document.
fileIdstringRequiredformat: "uuid"
The id of the file.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects a multipart form containing a file.
FilefileRequired

Response

OK
idstring or nullformat: "uuid"
The id of the file version.
fileInfoIdstring or nullformat: "uuid"
The id of the file this version belongs to.
versiondouble or null
The version of the file.
sizelong or null
The size of the file, in bytes.
widthdouble or null
The width if this is an image file.
heightdouble or null
The height if this is an image file.
createdOnstring or nullformat: "date-time"
The date this file version was created.
createdBystring or nullformat: "uuid"
The id of the user who created this file version.
updatedOnstring or nullformat: "date-time"
The date this file version was last modified.
updatedBystring or nullformat: "uuid"
The id of the user who last modified this file version.

Errors