OBJECT

File

Represents a file in the storage system with metadata and access information

link GraphQL Schema definition

  • type File {
  • # Unique identifier for the file
  • id: ID!
  • # User who owns this file
  • owner: User!
  • # ID of the folder containing this file (null if in root directory)
  • folderId: ID
  • # The actual content data of this file
  • content: FileContent!
  • # Display name of the file including extension
  • filename: String!
  • # Whether the file is publicly accessible without authentication
  • isPublic: Boolean!
  • # Number of times this file has been downloaded
  • downloadCount: Int!
  • # Timestamp when the file was uploaded
  • createdAt: String!
  • # Timestamp when the file metadata was last updated
  • updatedAt: String!
  • # Pre-signed URL for downloading the file (temporary access)
  • presignedUrl: String!
  • }