LogoLogo
User ManualChangelogRoadmapAboutYouTube
Apps
Apps
  • Apps
  • Quick start
  • Detailed reference
    • Manifest
      • Configuration schema
      • Dictionaries
    • Authentication
    • Configuration
    • Event endpoints
    • Synchronization
      • Data flow
      • Synchronization endpoints
      • Synchronization events
      • File download endpoint
    • Design considerations
  • Changelog
    • Changelog
    • Breaking changes
Powered by GitBook
On this page
Export as PDF
  1. Detailed reference
  2. Synchronization

File download endpoint

PreviousSynchronization eventsNextDesign considerations

Last updated 1 year ago

Was this helpful?

CtrlK

Was this helpful?

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

  • synchronization_file_download

  • synchronization_file_download_latest

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.