Interface ICreateTemplateRequest

interface ICreateTemplateRequest {
    description?: string;
    name: string;
    sourceAppAction?: "replace" | "validate";
    sourceAppId?: string;
    temporaryContentId: string;
}

Properties

description?: string

Template description

name: string

Template name

sourceAppAction?: "replace" | "validate"

Specifies the action to perform with the given source app id. Use "validate" to verify that the template source app matches the provided value. Use "replace" to migrate the template to a different app by replacing the source app id

sourceAppId?: string

The ID of the app that this template is using as data source. The id stored in the template file metadata is used if no value is specified

temporaryContentId: string

The ID of a previously uploaded temporary content file