问题
I'm working with Microsoft OneDrive and Microsoft Sharepoint using Microsoft Graph, and as I understood:
Url to get file list from logged in user OneDrive is:
/v1.0/me/drive/root/children
Url to get file list from company Sharepoint Documents is:
/v1.0/drive/root/children
So my questing is:
How to list Sharepoint Sites that user is following and upload files to this Sites
回答1:
This isn't possible yet. You need to use the direct SharePoint API end point to access content from SharePoint Sites.
Graph API supports accessing OneDrive, OneDrive for Business, and the document library for an Office 365 Group only.
来源:https://stackoverflow.com/questions/34952186/list-microsoft-sharepoint-sites-with-microsoft-graph