taskFiles

Returns all versions of the specified task file.

Changed on

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

get/tasks/{taskId}/files/{fileId}/versions

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/tasks/{taskId}/files/{fileId}/versions
  • Auth: HTTP bearer

Path parameters

taskIdstring uuid required
fileIdstring uuid required

Query parameters

pageinteger

Page number for pagination

pageSizeinteger

Number of items per page

orderbystring

The properties to order by

filterbystring

The filter expression to filter by

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

    • info

      api operation id taskFiles_GetTaskFileVersions removed and replaced with taskFiles_GetFilesVersionsByTaskNameAndTaskIdAndFileId

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API