companyFiles

Returns the content of the specified company file version.

Changed on

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

get/companies/{companyId}/files/{fileId}/versions/{versionId}/download

Request

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

Path parameters

companyIdstring uuid required

The company 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 companyFiles_GetCompanyFileVersionContent removed and replaced with companyFiles_GetFilesVersionsDownloadByCompanyNameAndCompanyIdAndFileIdAndVersionId

    • 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