MediaFormat Object
Description
A specific format variant of a media file with dimensions and URL.
Declaration
type MediaFormat {
name: String
ext: String
mime: String
width: Int
height: Int
size: Int
url: String
key: String
}
Fields
| Name | Type | Description |
|---|---|---|
name | String | Name of the format variant (e.g., "thumbnail", "banner", "large"). |
ext | String | File extension for this format variant. |
mime | String | MIME type of the format variant. |
width | Int | Width of the media in pixels. |
height | Int | Height of the media in pixels. |
size | Int | File size in bytes. |
url | String | URL to access the formatted media file. |
key | String | Storage key or identifier for the format variant. |