Skip to main content

AddonTemplate

Reusable survey or CTA template with a resolved thumbnail URL and a nested permission block derived from the current session. Returned by addonTemplateDetail and addonTemplatesList.

type AddonTemplate {
id: Int!
formatVersion: Int!
createdAt: Int!
name: String!
content: String!
description: String
category: String
thumbnail: String
type: AddonType!
permissions: AddonTemplatePermissions!
}

Fields​

AddonTemplate.id ● Int! non-null scalar​

AddonTemplate.formatVersion ● Int! non-null scalar​

Stored content format version.

AddonTemplate.createdAt ● Int! non-null scalar​

Creation time in Unix seconds.

AddonTemplate.name ● String! non-null scalar​

AddonTemplate.content ● String! non-null scalar​

Serialized JSON content for a reusable template.

AddonTemplate.description ● String scalar​

Catalog description; null when not supplied.

AddonTemplate.category ● String scalar​

Catalog category; null when not supplied.

AddonTemplate.thumbnail ● String scalar​

Resolved thumbnail URL; null when absent or unavailable.

AddonTemplate.type ● AddonType! non-null enum​

AddonTemplate.permissions ● AddonTemplatePermissions! non-null object​

Returned By​

addonTemplateCreate mutation ● addonTemplateDetail query ● addonTemplateEdit mutation

Member Of​

AddonTemplateListMeta object