• Retrieves the list of drives for a given SharePoint site.

    Parameters

    • client: Client

      The Microsoft Graph client instance used to make the API call.

    • options: {
          siteId: string;
      }

      An object containing the siteId of the SharePoint site.

      • siteId: string

        The ID of the SharePoint site to retrieve drives from.

    Returns Promise<any>

    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);