SP へWeb.lists プロパティ (sp.js)

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.

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Web.get_lists ()

戻り値

Type: SP.ListCollection

A collection of SP.ListCollection objects.

REST resource endpoint

See Web resource for more information.

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

GET syntax

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