SP.Site.showUrlStructure property (sp.js)
Gets or sets a value that specifies whether the URL structure of this site collection is viewable.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Site.get_showUrlStructure ()
var value = SP.Site.set_showUrlStructure ()
Return value
Type: Boolean
Remarks
See Web.ShowURLStructureForCurrentUser, which is the method for determining the behavior for the current user. The default, if not disabled on the Web application, is false.
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/site/showUrlStructure
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/site/showUrlStructure
GET syntax
GET http://<sitecollection>/<site>/_api/site/showUrlStructure