SP.Web.navigation property (sp.js)
Gets a value that specifies the navigation structure on the site, including the Quick Launch area and the top navigation bar.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Web.get_navigation ()
Return value
Type: SP.Navigation
An object that represents the website navigation elements.
REST resource endpoint
See Web resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/navigation
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/navigation
GET syntax
GET http://<sitecollection>/<site>/_api/web/navigation