Retrieves the list of drives for a given SharePoint site.
The Microsoft Graph client instance used to make the API call.
An object containing the siteId of the SharePoint site.
The ID of the SharePoint site to retrieve drives from.
A promise that resolves to the response containing the list of drives.
const client = await getSharePointClient(opt);const options = { siteId: 'your-site-id' };const drives = await getDrives(client, options);console.log(drives); Copy
const client = await getSharePointClient(opt);const options = { siteId: 'your-site-id' };const drives = await getDrives(client, options);console.log(drives);
Retrieves the list of drives for a given SharePoint site.