Schema Documentation

MediaDetails

Description

File details for a Media Item

Fields
Field NameDescription
file - String The filename of the mediaItem
height - Int The height of the mediaItem
meta - MediaItemMeta Meta information associated with the mediaItem
sizes - [MediaSize] The available sizes of the mediaItem
Arguments
exclude - [MediaItemSizeEnum]

The sizes to exclude. Will take precedence over include.

include - [MediaItemSizeEnum]

The sizes to include. Can be overridden by exclude.

width - Int The width of the mediaItem
Example
{"file":"xyz789","height":123,"meta":MediaItemMeta,"sizes":[MediaSize],"width":123}