Skip to main content

Get all widget templates

GET 

/templates

Get a list of all the widget templates

Request

Query Parameters

    paramsIO objectrequired
    optionalFields string[]

Responses

OK

Schema

  • Array [

  • config string

    Widget editor configuration field linked to the translation locales field in JSON format.

    cssCode string

    CSS that belongs to this template.

    dateActivated date-time

    Date when the widget was activated.

    dateCreated date-time

    Date when this widget was created

    dateModified date-time

    Date when this widget was modified

    description string

    Description of the template.

    htmlCode string

    UI text that belongs to this template.

    id int64

    Unique Id of the template

    isCustomTemplate boolean

    Indicates if this is a custom template.

    name string

    Name of the template.

    siteId int64required

    Web Id of the studio template.

    status string

    Template status.

    Possible values: [DRAFT, ACTIVE, PAUSED]

    tags string[]

    Tags that belong to this template.

    templateCssCode string

    CSS code that belongs to this template.

    templateHtmlCode string

    HTML code that belongs to this template.

    templateJavaScriptCode string

    JavaScript code that belongs to this template.

    type string

    Type of template.

    Possible values: [TEMPLATE, EDITOR]

    url string

    Url associated with this template.

    useCustomData boolean

    Indicates if custom data is being used.

    widgetEditorTemplate string

    Widget editor code that belongs to this template.

  • ]

Loading...