File download endpoint

If an App purpose it to generate a file as a result of synchronization enable any of the following features based on your needs

To allow access to Ergonode for generated files you need to implement the following endpoint.

/download-file

Use synchronization_id claim from JWT to determine which file should be returned.

The endpoint should return the binary file.

The response can contain content-type and content-length HTTP headers so that those are passed to the browser on file download.

Last updated