Skip to main content
Version: v4

File

No description

type File {
id: String!
filename: String!
mimetype: String!
encoding: String!
size: Float!
createdAt: DateTime!
updatedAt: DateTime!
deletedAt: DateTime
fileDetails: FileDetails!
url(
resolution: Resolution
): String!
}

Fields

File.id ● String! non-null scalar

UUID of file

File.filename ● String! non-null scalar

Filename of file

File.mimetype ● String! non-null scalar

MIME type of file

File.encoding ● String! non-null scalar

Encoding of file

File.size ● Float! non-null scalar

Size of file in Bytes

File.createdAt ● DateTime! non-null scalar

Creation time given as the ISO Date string

File.updatedAt ● DateTime! non-null scalar

Last update time given as the ISO Date string

File.deletedAt ● DateTime scalar

Soft delete time given as the ISO Date string

File.fileDetails ● FileDetails! non-null object

File details object associated with this file

File.url ● String! non-null scalar

URL of file

File.url.resolution ● Resolution enum

Returned by

getFiles query

Member of

FileDetails object