Asset
A media asset (image, file, video, or audio) attached to content
AssetFields
Width over height. For a native video, the shape of the video as it plays rather than its cover image; null while unknown.
Asset category (e.g. post, post_description, avatar, header)
MIME content type
Human-readable file size
Sized image URL (for image assets)
Non-description image on a post (has metadata is_main_image: true). Used to identify gallery/carousel images.
Large-sized image URL (comment images)
Original upload filename
HLS manifest URL for native video or audio. Null for other assets, and while the transcode has published nothing yet.
When playlistUrl stops working; refetch the asset before then. Null when
playlistUrl is null or is authorized by the member's session.
Zero-based place of the asset among the assets attached to the same post or comment, in the order they were arranged. Null when no position is recorded.
Small-sized image URL (comment images)
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.
Primary display URL. Null for native video on the Mighty API; play a video from playlistUrl.