Retrieves the lists from a specified SharePoint site.
The client instance used to make the API request.
An object containing the site ID.
The ID of the SharePoint site from which to retrieve the lists.
A promise that resolves to an array of lists from the specified SharePoint site.
const client = await getSharePointClient(options);const options = { siteId: 'your-site-id' };const lists = await getLists(client, options);console.log(lists Copy
const client = await getSharePointClient(options);const options = { siteId: 'your-site-id' };const lists = await getLists(client, options);console.log(lists
Retrieves the lists from a specified SharePoint site.