API Status Get API Key
TYPE

DocumentAsset

Document asset

Implements: Asset

Fields 7

id : ID

The ID of the asset. From the assets query, on a post and on a channel-less draft, it is the asset ID: send it as id in the matching ImageAssetInput, VideoAssetInput or DocumentAssetInput to attach the same asset again. If Buffer could not process a video after the post or draft was saved, attaching it by ID fails, and the file must be uploaded again. On a post or a draft, it is null for media saved without an asset ID. On a comment or an engagement item, it is null.

document : DocumentMetadata!

Document specific metadata

mimeType : String!

The MIME type of the asset

source : String!

URL to the file source

status : AssetStatus!

Whether the file of the asset is stored in Buffer. Unless it is ready, only id, status and type are valid.

thumbnail : String!

URL to the static thumbnail of the asset

type : AssetType!

The type of the asset