v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
files

Returns the content of the file with the specified id.

Returns the content of the latest file version. If the file is an image and the width and height are set, the image will resized before it is returned. The get the content it is necessary to have the 'read' permissions on the entity the file is related to.

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

get/files/{fileId}/download

Path parameters

fileIdstring uuid required

The id of the file.

Query parameters

widthnumber double

Set width to resize.

heightnumber double

Set height to resize.

cropboolean

Whether to crop the image when resizing it.

enlargeboolean

Whether to enlarge the image if the width/height are bigger than the original image.

inlineboolean

If inline is true, content-disposition header is inline, else it is attachment.

Headers

Authorizationstring required

Bearer authentication

Response

OK

string binary required