Asset type
A named image of the organisation or of one of its companies, such as a logo or a stamp. A print
template places it by its reference.
Fields
id
The asset's MAX id.
scope
Whose the asset is.
legalEntityId
The MAX id of the company a COMPANY asset belongs to. Null for a TENANT asset.
code
String!
The asset's code. With the scope, it makes the reference.
reference
String!
The name a print template places the asset by, for example company.logo.
name
String!
The asset's display name.
kind
What the asset is.
contentType
String!
The image's media type: image/png or image/jpeg.
width
Int!
The image's width in pixels.
height
Int!
The image's height in pixels.
sizeBytes
Int!
The image's size in bytes.
isPublic
Boolean!
Whether the image is served without authentication at publicUrl. A stamp is never public.
publicUrl
String
The address an e-mail links a public asset by. It changes when the image changes. Null when the asset is not public.
createdAt
When the asset was created.
updatedAt
When the asset last changed.
Used by
createAsset(mutation)replaceAssetFile(mutation)updateAsset(mutation)asset(query)AssetConnectionAssetEdge