The asset to attach: the id from the upload finish, from the assets query, from Asset.id on a post or a channel-less draft, or from IdeaMedia.assetId. Required for image, gif, video and document media sent without url. With url, this field is not checked.
INPUT
IdeaMediaInput
Fields 7
id
:
ID
url
:
String
The page URL of link media. From April 20, 2027, file media must use id.
alt
:
String
Alternative text for the media
thumbnailUrl
:
String
Thumbnail URL for the media
The type of media (image, gif, video, link, document, unsupported). Via the public API, createIdea attaches a video by asset id and rejects one sent with url.
size
:
Int
The size of the media in bytes
Source information for the media