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

POST

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

tasktemplateIdstringRequired

The id of the tasktemplate.

fileIdstringRequired

The id of the file.

Request

This endpoint expects a multipart form containing a file.
FilefileRequired

Response

OK

idstringOptional

The id of the file version.

fileInfoIdstringOptional

The id of the file this version belongs to.

versiondoubleOptional

The version of the file.

sizelongOptionalDefaults to 0

The size of the file, in bytes.

widthdoubleOptional

The width if this is an image file.

heightdoubleOptional

The height if this is an image file.

createdOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date this file version was created.

createdBystringOptional

The id of the user who created this file version.

updatedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date this file version was last modified.

updatedBystringOptional

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

Errors