Skip to main content

MediaThumbnail

The MediaThumbnail object represents a single thumbnail variant of media content.

Thumbnails are automatically generated, compressed versions of the original media at different size presets, optimized for various display contexts such as gallery views, previews, and list items. Each thumbnail maintains its own URL, format specifications, and metadata.

Schema Definition

type MediaThumbnail {
url: String!
preset: ThumbnailPreset!
format: String!
fileSize: UInt64
createdAt: Time!
}

Fields

FieldTypeDescription
urlString! non-null scalarThe URL where the thumbnail can be retrieved.
presetThumbnailPreset! non-null enumThe size preset of this thumbnail variant.
formatString! non-null scalarThe file format of the thumbnail.
fileSizeUInt64 scalarThe size of the thumbnail file in bytes.
createdAtTime! non-null scalarThe timestamp when this thumbnail was generated and became available in the system.

Member Of

Media object