api/files endpoint instead of the usual api/commands.
When uploading a File, Fibery does two things:
- Saves the File to Storage and gets File’s
fibery/secret. - Creates an Entity in the
fibery/fileDatabase with thefibery/secretfrom the previous step and getsfibery/id.
fibery/secret. For actions inside Fibery (ex. attaching a File to an Entity) use fibery/id:
Parent Entity --- (fibery/id) ---> File Entity --- (fibery/secret) ---> File in Storagefibery/file Database
Upload File
Upload a locally stored File and get:fibery/idto attach the File to an Entity;fibery/secretto download the File.
Upload File from the web
Upload a file from url and get:fibery/idto attach the File to an Entity;fibery/secretto download the File.
Upload an image from pixabay:
Download File
Download a File by providingfibery/secret.
Note: there is no place on UI where you can find any arbitrary file. You can download it by URL above (or preview by browser if file format allows it).
To view it file on UI one must place it in the Rich Text or Document or into Files extension for some Entity.
To view it file on UI one must place it in the Rich Text or Document or into Files extension for some Entity.
Get temporary public File Url
You can get a signed url which is valid for 60 minutes by calling/sign-urls
Attach File to Entity
Before attaching a File, make sure that you have a Files field added for the Entity’s Database:

<Your Space>/Files. Attach and remove Files the same way you update any other entity collection Field. In case you disable Allow multiple files option the field is created as a single file field. In examples bellow we’re considering that you’re working with files collection, please consult your Query entities guide to query single file field data.
Attach a picture to a Player’s profile:
Download attachments
To download Entity’s attached Files:- Get the Files
fibery/secret; - Download each File using
fibery/secret.
fibery/secret for a particular Player Entity:
