GetTemplates

Build 1501 on 14/Nov/2017  This topic last edited on: 13/Feb/2014, at 18:45

Description

Get a list of available kentico templates. Show them into template selection dialog.

REST

Syntax

http://localhost/gnweb/webdo.ashx?cmd=gettemplates&category=...&size= ...

Parameters

category = kentico category name

size = thumbnail size

Return format

string stream with template names and thumbnails Base64 encoded.

Example

AllNewsList|/9j/4AAQSkZJRgA/So4bPwvqw...KhbYj2lz/9k=|Article||ArticleExtended||ArticlePreview|iVBORw0KGgo...ABJRU5ErkJggg==|ArticleTagsList||Gallery|iVBORw0KGg...hQSCrkJggg==|

A double pipe after template name means “no thumbnail”.