SiteAsset
An append-only site asset revision returned by siteAsset, siteAssets, and siteAssetRevisions.
type SiteAsset {
id: Int!
siteId: Int!
type: SiteAssetType!
revision: Int!
content: String!
image: Image
createdByUserId: Int!
createdByName: String!
createdAt: Int!
updatedAt: Int!
}
Fields
SiteAsset.id ● Int! non-null scalar
SiteAsset.siteId ● Int! non-null scalar
SiteAsset.type ● SiteAssetType! non-null enum
SiteAsset.revision ● Int! non-null scalar
Positive revision number within this site and type; pass it as expectedRevision when writing.
SiteAsset.content ● String! non-null scalar
Markdown brand guidelines for BRAND_GUIDELINES; for LOGO, JSON such as {"version":1,"image_id":"<uuid>"},
with image_id null after removal.
SiteAsset.image ● Image object
Logo image resolved from the stored reference; null for text assets, removed logos, or unavailable images.
SiteAsset.createdByUserId ● Int! non-null scalar
Revision author ID, which may identify a team member rather than the account owner.
SiteAsset.createdByName ● String! non-null scalar
SiteAsset.createdAt ● Int! non-null scalar
Revision creation time in Unix seconds.
SiteAsset.updatedAt ● Int! non-null scalar
Revision update timestamp in Unix seconds.
Returned By
siteAsset query ● siteAssetLogoRemove mutation ● siteAssetLogoUpload mutation ● siteAssetRevisionCreate mutation ● siteAssetRevisions query ● siteAssets query