> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PrimaryMedia

> The post's hero media upload — the native audio or native video a Host attached
as the header. Absent when the post has no header media.



**Kind**: `object`

## Fields

**`aspectRatio`**: `Float`

Width over height of the video as it plays, read off the video rather than its
cover image. Null for audio and while unknown — fall back to the cover's shape.

---

**`coverImageId`**: `ID`

Asset ID of the artwork, and the handle for taking it off: the cover is an
asset in its own right, so removing it means archiving that asset. Null when
the attachment carries no artwork.

---

**`coverImageUrl`**: `String`

Artwork for the player. Null when the attachment carries none.

---

**`externalAssetId`**: `ID`

Asset ID to pass to the native playback endpoints. Null when the slot holds a raw upload with no delivery rendition.

---

**`id`**: `ID!`

Asset ID of the attachment.

---

**`type`**: `String!`

Medium and delivery format of the attachment: `audio/hls` or `video/hls`. Picks the player; not a MIME type.

---

**`url`**: `String`

HLS manifest URL. Null while the transcode has published nothing yet — show a processing placeholder rather than a player.

---

**`urlExpiresAt`**: `ISO8601DateTime`

When `url` stops working; refetch the post before then. Null when `url` is null or is authorized by the member's session.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.