The Membrane API works with data in JSON format. When you need to work with binary data (uploading or downloading files), the data is stored in a separate storage and a URI to access it is provided in JSON.Documentation Index
Fetch the complete documentation index at: https://docs.getmembrane.com/llms.txt
Use this file to discover all available pages before exploring further.
Files Endpoint
For convenience, integration engine provides a special/files endpoint that accepts binary files and returns a pre-signed URL to access them.
You can use it to:
- Download files from external apps: you can use the
/filesendpoint in connector code or your custom code, then return the URL to access them in the output. - Upload files to external apps: you can use the
/filesendpoint in your code and pass the URL to the input of the code running in the engine.
Expiration
Files are stored in the engine storage and are available for a limited time. In our cloud version, the files will be available for 1 hour.In self-hosted version, this time may vary based on how your storage is configured and can last up to 7 days.