Skip to main content

File Object

Description

Represents metadata about an uploaded file.

Declaration

type File {
filename: String!
mimetype: String!
encoding: String!
}

Fields

NameTypeDescription
filenameString!Original filename of the uploaded file.
mimetypeString!MIME type of the file, such as image/jpeg or application/pdf.
encodingString!Character encoding of the file content.