OBJECT

File

File on CDN (table cdn_files)

link GraphQL Schema definition

  • type File {
  • # Primary Key (in site database)
  • id: Int!
  • # Primary Key (in CDN database)
  • cdn_file_id: Int!
  • # Unix timestamp when file was created
  • created_at: Float!
  • # Size of file in Bytes
  • size: Int!
  • # Token for root operations with file: upload, delete, etc
  • create_token: String!
  • # Access token for private files
  • access_token: String
  • # Original filename with which the file was uploaded
  • filename: String!
  • # Type of file: currently supported file & image
  • type: String!
  • # Key of preset rules for file modifications
  • rule_key: String
  • # Is the file available via http without access token
  • is_public: Int!
  • # MD5 hash of file content
  • md5: String
  • }