A look at the File Repository
The File Repository is a platform component that allows uploading and sharing files both from the Control Panel and via REST APIs.
One of its objectives is to isolate from the underlying technology in which the files are stored, so that it is transparent to the user.
It currently supports these three technologies:
GridFS: this is MongoDB's distributed file system. It is an appropriate choice for scenarios where you use MongoDB as a platform database as it does not force you to deploy any additional parts and supports most scenarios.
MinIO/AWS S3: for both platform deployments on AWS and deployments using MinIO, this mechanism offers many more options and is suitable for advanced or heavy use of the File Repository.
Google Cloud Storage: this mechanism is the most suitable in deployments on GCP, since for a very small cost I can use the File Repository on this persistence.
Â
In the Control Panel, depending on which technology you have selected at the time of platform deployment, you will select one of these options:
The REST API to use this functionality is this:
Â