Skip to main content

MediaBase64FileInput

File upload using base64 encoded content for direct data transmission

input MediaBase64FileInput {
base64: String!
fileName: String!
}

Fields

MediaBase64FileInput.base64 ● String! non-null scalar

Base64 encoded representation of the file content.

The complete file data encoded in base64 format. Maximum size is approximately 10MB (13,981,017 characters). This method is useful for small files or when direct file upload is not available.

MediaBase64FileInput.fileName ● String! non-null scalar

Filename to use when creating the file from base64 data.

Must include the file extension and be between 5-255 characters. This name will be used for storage and affects how the file is processed and referenced.

Member Of

UploadFileInput input