MediaBase64Input
contentstringrequired
The file as base64. A data:<mime>;base64, prefix is accepted. At most 20 MB once decoded.
filenamestringrequired
File name with extension, for example cover.png. No folders.
Possible values: <= 255 characters
Example:
cover.pngalt_textstring | nullnullable
Alternative text for accessibility.
Possible values: <= 255 characters
folder(string | null)<uuid>nullable
UUID of the media folder to file the upload in. Omit or null for the library root.
MediaBase64Input
{
"content": "string",
"filename": "cover.png",
"alt_text": "string",
"folder": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}