Image
Stored image metadata returned by imageList, imageDetail, imageUpload and imageUploadUrls, with a
derived public asset URL.
type Image {
id: ID!
userId: Int!
siteId: Int!
filename: String!
mime: String!
ext: String!
width: Int!
height: Int!
size: Int!
blurhash: String
source: String
publicUrl: String!
createdAt: Int!
}
Fields
Image.id ● ID! non-null scalar
Image UUID accepted by imageDetail and imageDelete.
Image.userId ● Int! non-null scalar
Owning account ID.
Image.siteId ● Int! non-null scalar
Associated site ID from sites.
Image.filename ● String! non-null scalar
Original upload filename or basename of the remote URL path.
Image.mime ● String! non-null scalar
MIME type of the stored image format.
Image.ext ● String! non-null scalar
Stored format extension, derived after normalization.
Image.width ● Int! non-null scalar
Stored image width in pixels; zero for SVG uploads.
Image.height ● Int! non-null scalar
Stored image height in pixels; zero for SVG uploads.
Image.size ● Int! non-null scalar
Stored file size in bytes after normalization.
Image.blurhash ● String scalar
Optional blur placeholder string; null for uploads through these image mutations.
Image.source ● String scalar
Source label given at upload, such as surveys; imageList filters on it.
Image.publicUrl ● String! non-null scalar
Public asset URL derived from the owning account, site, image UUID and stored extension.
Image.createdAt ● Int! non-null scalar
Upload time; requesting this field currently returns an error, so omit it.
Returned By
imageDetail query ● imageUpload mutation ● imageUploadUrls mutation ● pageEditorImageUploadUrls mutation
Member Of
ImageListMeta object ● SiteAsset object