SP.WebTemplateCollection object

SharePoint 2013

Specifies a collection of site templates.

Last modified: March 09, 2015

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.WebTemplateCollection()

The WebTemplateCollection object has the following members.

Constructor

The WebTemplateCollection object has the following constructor.

Constructor

Description

WebTemplateCollection

Initializes a new instance of the SP.WebTemplateCollection object.

Methods

The WebTemplateCollection object has the following methods.

Method

Description

getByName

itemAt

Properties

The WebTemplateCollection object has the following properties.

Property

Description

childItemType

item

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/GetAvailableWebTemplates(languageid,includecrosslanguage)

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/web/GetAvailableWebTemplates(languageid,includecrosslanguage)

POST syntax

POST http://<sitecollection>/<site>/_api/web/GetAvailableWebTemplates(languageid,includecrosslanguage)
Show: