Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从位于 SharePoint Online Team Site 的文件夹中获取文件。我可以使用
https://graph.microsoft.com/v1.0/groups?$filter=displayName eq 'DemoSite'&$select=id,displayName
如何使用图形 API 获取此团队网站中可用的文件夹和文件?
首先使用https://graph.microsoft.com/v1.0/groups?$filter=displayName eq '" + SiteName + "'&$select=id,displayName获取 groupId
然后使用,
https://graph.microsoft.com/v1.0/groups/" + groupId + "/drive/items/root:/{$item_path}