Public download or preview
GET https://{{host}}/file/public/76ae6d45-8615-4fe2-92fc-8d2c580e5f59?mode=preview
Service for public download of the document
This service is called using the GET
method and requires a document UUID to work.
This service allows a parameter with the name mode
the parameter options are:
download
: To download the document directly, this is the default behavior and should be used when the link is used in a Download
button, for example.
preview
: To show a preview of the document. This option should be use if the expected behavior is to embed the document preview in another application.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
mode | string |