Skip to main content
objectPrimaryMedia

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.