Share via


SP.WebTemplateCollection object

Specifies a collection of site templates.

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

var object = new SP.WebTemplateCollection()

Members

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

REST resource endpoint

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)