Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

File

typeFile

Fields

  1. fields
_id*ID!
tenant*String!
file*
originalName?String
alt?String
mimeType?String
size?Int
directory?String
usages?
usageCount?Int
createdBy?
commits?
createdAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

updatedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

SDL
type File {  _id: ID!  tenant: String!  file: ServerFileReference!  originalName: String  alt: String  mimeType: String  size: Int  directory: String  usages: [FileUsage!]  usageCount: Int  createdBy: UserReference  commits: [ResourceCommitHistoryReference!]  createdAt: DateTime  updatedAt: DateTime}