File Storage

In the 8base GraphQL API, Files is just another table that supports all standard CRUD operations and connections to other tables. When you create a field of type File, the platform creates a relationship (connection) between your table and the Files table under the hood. This allows you to use connection-related operations such as create, connect, disconnect on file-type fields.

To handle delivery and transformations on file uploads in the 8base Management Console, we've integrated with Filestack. S3 is then used to safely store the uploaded file. Thus, inside the Data Viewer you're able to easily manage files (pictures and documents) as they are attached to different records.

Managing Files

Upload

Inside the Data Viewer (Data > Table Name > Data) you're able to manage all records for the selected data table. When creating or editing a record, the Add <File Type> option will appear next to any pertaining data field. Using this option will launch the Filestack uploader, allowing you the option of uploading different files through a number of connected channels.

Data Viewer uploader with connected channels

Delete

In this same view, you are able to remove any file from a given record. Simply use the ellipsis dropdown located on the image and select "Delete". Make sure to save your changes before leaving the screen.

Delete files from a specific record