Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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
© 2015 Microsoft