Message-ID: <53053007.3150.1485852215841.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3149_437677490.1485852215841" ------=_Part_3149_437677490.1485852215841 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Unlike image files, files stored in BinaryFile or Media Fields m=
ay be limited to certain User Roles. As such, they are not publicly downloa=
dable from disk, and are instead served by Symfony, using a custom rou=
te that runs the necessary checks. This route is automatically generated as=
the url
property for those Fields values.
The route follows this pattern: /content/download/{contentId}=
/{fieldIdentifier}/{filename}
. Example: /content/download/68/file/My-file.pdf.
It also accepts optional query parameters:
version
: the ve=
rsion number that the file must be downloaded for. Requires the versionview=
permission. If not specified, the published version is used.inLanguage
: The language the file should be dow=
nloaded in. If not specified, the most prioritized language for the siteacc=
ess will be used.The ez_render_field twig helper will by default generate a working link.
The uri
property of Binary Fields in REST contain a valid U=
RL, of the same format than the Public API, prefixed with the same host tha=
n the REST Request.
For more information abo= ut REST API see the documentation.