taskTemplateFiles

Returns the tasktemplate file version with the specified id.

Changed on

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

get/tasktemplates/{tasktemplateId}/files/{fileId}/versions/{versionId}

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/tasktemplates/{tasktemplateId}/files/{fileId}/versions/{versionId}
  • Auth: HTTP bearer

Path parameters

tasktemplateIdstring uuid required

The id of the tasktemplate.

fileIdstring uuid required

The id of the file.

versionIdstring uuid required

The id of the file version.

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.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id GetFilesVersionsByTaskTemplateNameAndTaskTemplateIdAndFileIdAndVersionId removed and replaced with taskTemplateFiles_GetFilesVersionsByTaskTemplateNameAndTaskTemplateIdAndFileIdAndVersionId