This object is used to create content templates.

interface ContentTemplateCreate {
    body: ContentTemplateBodyCreate;
    description?: string;
    labels?: Models.Label[];
    name: string;
    space?: {
        key: string;
    };
    templateType: string;
}

Hierarchy (view full)

Properties

description?: string

A description of the new template.

labels?: Models.Label[]

Labels for the new template.

name: string

The name of the new template.

space?: {
    key: string;
}

The key for the space of the new template. Only applies to space templates. If the spaceKey is not specified, the template will be created as a global template.

Type declaration

  • key: string
templateType: string

The type of the new template. Set to page.

Generated using TypeDoc v0.25.12