Skip to main content

Media

Media object that is an image, video or document

type Media {
index: Int
link: [Link]
title: [LocalizedString]
altText: [LocalizedString]
height: Int
width: Int
modifiedAt: DateTime @deprecated
updatedAt: DateTime
}

Fields

index ● Int

Used to identify the position if the media is an extra image, otherwise defaults to 0

The link to the media object

title ● [LocalizedString]

The title of the media object

altText ● [LocalizedString]

The alternative text of the media object

height ● Int

The hieght of the media object

width ● Int

The width of the media object

updatedAt ● DateTime

When the object was last updated

Show deprecated

Example

{
"link": [
{
"url": {
"language": "EN",
"value": "String"
},
"alternateUrls": [
{}
],
"redirect": {}
}
],
"modifiedAt": "2024-05-03T11:52:33Z"
}