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

Uploads a new version of an project 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>

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

This endpoint expects a multipart form containing a file.
FilefileRequired

Response

OK
idstringformat: "uuid"
The id of the file version.
fileInfoIdstringformat: "uuid"
The id of the file this version belongs to.
versiondouble
The version of the file.
sizelong
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.
createdOndatetime
The date this file version was created.
createdBystringformat: "uuid"
The id of the user who created this file version.
updatedOndatetime
The date this file version was last modified.
updatedBystringformat: "uuid"
The id of the user who last modified this file version.

Errors

400
Bad Request Error