Response for a page usage response (templates).
name | data type | constraints | description |
---|---|---|---|
withoutPermission | number | required int | Get the number of templates without permission |
total | number | required int | Get the total number of templates |
Properties inherited from TemplateListResponse |
|||
templates | array of Template | Get the list of templates | |
hasMoreItems | boolean | True if more items are available (paging) | |
numItems | number | Get total number of items present | |
Properties inherited from GenericResponse |
|||
messages | array of Message | Messages contained in the response (which should be shown to the user) | |
responseInfo | ResponseInfo |
Example
{ "withoutPermission" : 12345, "total" : 12345, "templates" : [ { "inheritedFrom" : "...", "masterNode" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "description" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345, "locked" : true, "markupLanguage" : { "id" : 12345, "name" : "...", "extension" : "...", "contentType" : "...", "feature" : "...", "excludeFromPublishing" : true }, "inherited" : true, "folderId" : 12345, "masterId" : 12345, "path" : "...", "templateTags" : { "property1" : { "mandatory" : true, "editableInPage" : true, "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "TEMPLATETAG" }, "property2" : { "mandatory" : true, "editableInPage" : true, "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" } }, "objectTags" : { "property1" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" }, "property2" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" } }, "source" : "...", "channelSetId" : 12345, "channelId" : 12345, "master" : true }, { "inheritedFrom" : "...", "masterNode" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "description" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345, "locked" : true, "markupLanguage" : { "id" : 12345, "name" : "...", "extension" : "...", "contentType" : "...", "feature" : "...", "excludeFromPublishing" : true }, "inherited" : true, "folderId" : 12345, "masterId" : 12345, "path" : "...", "templateTags" : { "property1" : { "mandatory" : true, "editableInPage" : true, "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "TEMPLATETAG" }, "property2" : { "mandatory" : true, "editableInPage" : true, "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "OBJECTTAG" } }, "objectTags" : { "property1" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" }, "property2" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" } }, "source" : "...", "channelSetId" : 12345, "channelId" : 12345, "master" : true } ], "hasMoreItems" : true, "numItems" : 12345, "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }