TemplateResource

The following resources are part of this group:

/template/localizationinfo

Mount Point: /CNPortletapp/rest/template/localizationinfo

GET

Get localization info for a list of templates for a given channel and all master channels

Parameters

name description type default
id list of template ids query
nodeId id of the node to start with query

Response Body

element: localizationInfo

localization info

/template/push2master

Mount Point: /CNPortletapp/rest/template/push2master

POST

Push a list of templates from a channel into a master

Request Body

element: multiPushToMasterRequest

request

Response Body

element: genericResponse

generic response

/template/unlocalize

Mount Point: /CNPortletapp/rest/template/unlocalize

POST

Unlocalize templates in a channel

Request Body

element: multiUnlocalizeRequest

request

Response Body

element: genericResponse

generic response

/template/getTags/{id}

Mount Point: /CNPortletapp/rest/template/getTags/{id}

GET

Get the list of templatetags for this template

Parameters

name description type default
id id of the template. The local or global id path
skipCount (no documentation provided) query 0
maxItems (no documentation provided) query -1
sortby (no documentation provided) query name
sortorder (no documentation provided) query asc
search (no documentation provided) query

Response Body

element: tagListResponse

response object

/template/load/{id}

Mount Point: /CNPortletapp/rest/template/load/{id}

GET

Load the template with the given id and return it.

Parameters

name description type default
id The template id path
nodeId channel id query

Response Body

element: (custom)

(no documentation provided)

/template/localizationinfo/{id}

Mount Point: /CNPortletapp/rest/template/localizationinfo/{id}

GET

Get localization info for a template for a given channel and all master channels

Parameters

name description type default
id id of the template. This can either be the local or global id of the template. path
nodeId id of the node to start with query

Response Body

element: localizationInfo

localization info

/template/push2master/{id}

Mount Point: /CNPortletapp/rest/template/push2master/{id}

POST

Push a template from a channel into a master

Parameters

name description type default
id id of the template path

Request Body

element: pushToMasterRequest

request

Response Body

element: genericResponse

generic response

/template/unlocalize/{id}

Mount Point: /CNPortletapp/rest/template/unlocalize/{id}

POST

Unlocalize the given template

Parameters

name description type default
id id of the template to unlocalize path

Request Body

element: unlocalizeRequest

request

Response Body

element: genericResponse

generic response