Description
Topic: Files
Fields
CRC32 checksum of the original file
Example: 34539485
The date and time when the file was created, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
A unique file identifier
Example: "fi_EQzGqWoY"
Alt title of the image
Average color of the image
Example: "#ffffff"
Duration of the video in milliseconds if file is a video
Example: 0
Base64 miniature of the image suitable for inline rendering (webp file format)
Example: "UklGRrIFAABXRUJQVlA4IKYFAADQGACdASqAAC8AAMAUJYwDDaD295z4Jt/bwTtvB4uWTO7zj5N10H8J/GN679s+W/EU+Q/fL8zxezK/x/nvprchPozaLvrH2DTI2qUzsmTZ+wSHmKgrtkTks767dPgH+xctt/1jugOVBlJNqpxI"
Height of the image if file is an image
Example: 0
Width of the image if file is an image
Example: 0
imported_from_task: ShardedTask
Task this file is/was processed by
Expandable
Is file a binary? (images are always binary)
Example: false
Is file an image?
Example: false
Whether this file is owned by something
Example: false
Was file uploaded?
Example: true
Is file a video?
Example: false
MD5 hash of the original file
Example: "00f6f616227c8f68c76f4c01de026dbf"
MIME type of the file
Example: "plain/text"
Human-friendly name of the file
Example: "abc.txt"
Internal storage path of the file
Example: "sh_EQzGqWoY/fi_EQzGqWoY/abc.txt"
Whether file is pinned or not
Example: false
Publically available CDN URL of a file
Example: "https://cdn.lana.dev/sh_EQzGqWoY/fi_EQzGqWoY/image.jpg"
Size of the file in bytes (string, because graphql is limited to int32)
Example: "0"
storage: FileStorage!
File storage type
Example: "general"
Internal path of the file in temporary storage, used internally, had to be exposed
Example: "sh_EQzGqWoY/550e8400-e29b-41d4-a716-446655440000"
Used By
Mutations
filesCreate, filesModify, filesUploaded
Queries
Types
Activity, Brand, BrandingField, Category, ContentBlock, CustomFieldObjects, FileExpandableItems, FilePage, FileSearchResult, MediaFile, Product, ProductReview, ProductVariant, Return, ShardedTask, ShardedTaskCSVImportInfo, UnifiedSearchResult
Preview (typescript)
Loading module