lists property
Collapse the table of content
Expand the table of content

SP.Web.lists property (sp.js)

SharePoint 2013

Gets the collection of all lists that are contained in the Web site available to the current user based on the permissions of the current user.

Last modified: April 27, 2014

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

var value = SP.Web.get_lists ()

See Web resource for more information.

Endpoint URI structure


HTTP requests

This resource supports the following HTTP commands:

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists
© 2016 Microsoft