GenericFile - admin-graphql - OBJECT
Version: 2024-07
Description:
Represents any file other than HTML.
Access Scopes
`read_products` access scope, `read_files` access scope, `read_themes` access scope, `read_orders` access scope, `read_draft_orders` access scope or `read_images` access scope.
Fields
-
alt:
String -
A word or phrase to describe the contents or the function of a file.
-
createdAt:
DateTime! -
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.
-
fileErrors:
FileError! -
Any errors that have occurred on the file.
-
fileStatus:
FileStatus! -
The status of the file.
-
id:
ID! -
A globally-unique ID.
-
mimeType:
String -
The generic file's MIME type.
-
originalFileSize:
Int -
The generic file's size in bytes.
-
preview:
MediaPreviewImage -
The preview image for the media.
-
updatedAt:
DateTime! -
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.
-
url:
URL -
The generic file's URL.
Connections
Related queries
Related mutations
Related Unions
Examples