Skip to main content
A File record represents a file uploaded to Sublay’s storage system. Files can be attached to users (avatars, banners), entities, comments, chat messages, or spaces. Image files include an additional image extension with processed variants at multiple sizes.

File

FileImage

For image files, the image field contains processing results and variant URLs.

FileImageVariant

Each entry in FileImage.variants has this shape:

See Also