Skip to main content

ContentFile

type ContentFile implements Node {
id: ID!
createdAt: Time!
updatedAt: Time!
companyID: String!
name: String!
isFolder: Boolean!
mimetype: String
cloudinaryID: String
size: Float!
duration: Float
folderID: ID
muxID: String
muxReady: Boolean
path: String!
folder: ContentFile
files(
after: Cursor
first: Int
before: Cursor
last: Int
orderBy: ContentFileOrder
where: ContentFileWhereInput
): ContentFileConnection!
}

Fields

ContentFile.id ● ID! non-null scalar

ContentFile.createdAt ● Time! non-null scalar

ContentFile.updatedAt ● Time! non-null scalar

ContentFile.companyID ● String! non-null scalar

ContentFile.name ● String! non-null scalar

ContentFile.isFolder ● Boolean! non-null scalar

ContentFile.mimetype ● String scalar

ContentFile.cloudinaryID ● String scalar

ContentFile.size ● Float! non-null scalar

ContentFile.duration ● Float scalar

ContentFile.folderID ● ID scalar

ContentFile.muxID ● String scalar

ContentFile.muxReady ● Boolean scalar

ContentFile.path ● String! non-null scalar

ContentFile.folder ● ContentFile object

ContentFile.files ● ContentFileConnection! non-null object

ContentFile.files.after ● Cursor scalar

Returns the elements in the list that come after the specified cursor.

ContentFile.files.first ● Int scalar

Returns the first n elements from the list.

ContentFile.files.before ● Cursor scalar

Returns the elements in the list that come before the specified cursor.

ContentFile.files.last ● Int scalar

Returns the last n elements from the list.

ContentFile.files.orderBy ● ContentFileOrder input

Ordering options for ContentFiles returned from the connection.

ContentFile.files.where ● ContentFileWhereInput input

Filtering options for ContentFiles returned from the connection.

Interfaces

Node interface

An object with an ID. Follows the Relay Global Object Identification Specification

Returned By

createFolder mutation ● getContentFile query ● updateFile mutation ● uploadFiles mutation ● uploadFileToMux mutation

Member Of

BlogPost object ● ContentFile object ● ContentFileEdge object