Skip to content

File is a common interface implemented by every resource that lives in a workspace's folder hierarchy, such as a Folder or a Container.

graphql
interface File {
  id: ID!
  name: String!
  createdAt: Date!
  updatedAt: Date!
  folder: Folder
  workspace: Workspace!
}

Fields ​

File.id ● ID! non-null scalar ​

The unique identifier of the file.

File.name ● String! non-null scalar ​

The display name of the file.

File.createdAt ● Date! non-null scalar ​

The date and time at which the file was created.

File.updatedAt ● Date! non-null scalar ​

The date and time at which the file was last updated.

File.folder ● Folder object ​

The parent folder of the file, or null if the file is at the root of the workspace.

File.workspace ● Workspace! non-null object ​

The workspace the file belongs to.

Member Of ​

FilesPagination object

Implemented By ​

Container object ● Folder object ● FontFamily object ● Image object ● Montage object