files

Returns the latest content of the specified file and supports range requests.

Changed on

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

get/files/{fileId}/download

Request

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

Path parameters

fileIdstring uuid required

Query parameters

widthnumber double
heightnumber double
cropboolean
enlargeboolean
inlineboolean

Response

OK

string binary required

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      api operation id files_GetFile removed and replaced with files_GetFilesDownloadByFileId

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API