SharePoint Online获取站点/驱动器权限REST API

问题描述:

来自onedrive REST API doc  https://docs.microsoft.com/zh-cn / onedrive / developer / rest-api /
我找不到API来获取站点/驱动器的权限。现在我需要获得一个站点/驱动器权限,我只能获得驱动器信息。在驱动器信息中,存在"CreateBy"和"CreateBy"。和"Ower group"仅供参考。但我需要网站/驱动器权限详细信息。
是否有这样的REST API?

您可以尝试以下端点。

https://graph.microsoft.com/v1.0/sites/domain.sharepoint.com,GUID,GUID/drive/root/permissions 跨度>

https://graph.microsoft.com/ v1.0 / sites / domain.sharepoint.com,GUID,GUID / drives / DRIVE ID / items / ITEM ID / permissions

最好的问候,

Lee