Skip to main content
Version: 5.7.0

Global File

The new Global File API is used to access V3 of our Global Files Service. The V3 API brings new features to global files:

  • Ability to organize files into sub-directories
  • Ability to upload global files from the Client Libraries (by migrating an uploaded User File)

Note that because these files are global to the app, this API has been designed with additional checks (in terms of treeIds, versions, etc.) for concurrency safety.

Important notes:

  • V3 files are stored separately from the legacy global files
  • This API is not supported by the current Design Portal.

To access the files uploaded into the Custom Config | Files section of the portal, you need to use the legacy S3 Handling service.

tip

There is a new globalFileTree structure added to app-record to hold the tree structure that we will store files in. Note that this structure is separate from the files list itself (which will still be stored in the fileMetadata collection) and of course the cloud storage itself (accomplished via S3, Google Cloud Store, etc). The treeId (aka globalTreeId, folder or file Id) represents the guid for folders or files in the file tree structure.

API Summary

Client File Retrieval APIs

System File Retrieval APIs

Accessible via cloud-code and S2S.

File Management

Folder Management