MediaAssetDto
Represents an image or video uploaded to a store's media.
idFlakeIdRequired
content_typestringRequired
The MIME type of the media, for example 'image/png'.
created_atstringRequired
The date and time the media asset was created.
size_bytesintegerRequired
The size of the media in bytes.
store_idFlakeIdRequired
typeenumRequired
Specifies the kind of media an asset holds.
Possible enum values
unknownThe type is unknown.
imageAn image (PNG, JPEG, WEBP or GIF).
videoA video (MP4).
urlstringRequired
The public URL the media is served from.
Example
{
"id": "411486491630370816",
"content_type": "string",
"created_at": "2024-01-01T00:00:00Z",
"size_bytes": 0,
"store_id": "411486491630370816",
"type": "unknown",
"url": "string"
}