documentFiles

Returns the content of the specified document file version.

Changed on

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

get/documents/{documentId}/files/{fileId}/versions/{versionId}/download

Request

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

Path parameters

documentIdstring uuid required

The document that owns the file.

fileIdstring uuid required

The file to download.

versionIdstring uuid required

The version to download.

Response

OK

string binary required

Changes

    • info

      api operation id documentFiles_GetDocumentFileVersionContent removed and replaced with documentFiles_GetFilesVersionsDownloadByDocumentNameAndDocumentIdAndFileIdAndVersionId

    • 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