Types
Asset
A media asset (image, file, video, or audio) attached to content
object
AssetFields
aspectRatio
Float
Original aspect ratio
assetStyle
String
Asset category (e.g. post, post_description, avatar, header)
contentType
String
MIME content type
fileSize
String
Human-readable file size
id
ID!
imageUrl
String
Sized image URL (for image assets)
isAudio
Boolean!
isFile
Boolean!
isImage
Boolean!
isMainImage
Boolean!
Non-description image on a post (has metadata is_main_image: true). Used to identify gallery/carousel images.
isVideo
Boolean!
largeImageUrl
String
Large-sized image URL (comment images)
originalFilename
String
Original upload filename
smallImageUrl
String
Small-sized image URL (comment images)
thumbnailUrl
String
Artwork hanging off the asset itself, such as the cover a Host attaches to native audio. Null when the asset has no cover, so a client can tell absence from a real image.
url
String
Primary display URL