Skip to main content

MediaFormat Object

Description

A specific format variant of a media file with dimensions and URL.

Declaration

type MediaFormat {
_id: ID
name: String
size: Int
url: String
width: Int
height: Int
}

Fields

NameTypeDescription
_idIDInternal database identifier.
nameStringName of the format variant.
sizeIntFile size in bytes.
urlStringURL to access the formatted media file.
widthIntWidth of the media in pixels.
heightIntHeight of the media in pixels.