Skip to main content

Sp.Sites.Lists.getAllLists

GET 

/clients/:clientId/sp/sites/:siteId/lists

This function retrieves all lists from a SharePoint site using the provided SharePoint Framework client.

Request

Responses

The getAllLists function is returning a Promise that resolves to an array of IListInfo objects. The function is using the openSpClient object to access the lists from a SharePoint web.