Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
235 views
in Technique[技术] by (71.8m points)

Access File from sharepoint list using Microsoft Graph

I am able to access list with this URL https://graph.microsoft.com/v1.0/sites/collaboration.sharepoint.com,acg7dc07-275d-4d76-8f60-58ea3b489989,9cd9b335-0955-4af5-8a3b-1546fcdc728a/lists/9844ca7d-300c-43d9-8537-86e194de7203

But unable to access file item from here. Please can you provide graph query for this."children" element is not working


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If you want to get SharePoint file with Graph API, you should take a reference to this:https://docs.microsoft.com/en-us/graph/api/resources/onedrive?view=graph-rest-1.0

Demo:

https://graph.microsoft.com/v1.0/sites/b57886ef-vvvv-4d56-ad29-27266638ac3b,b62d1450-8e6f-4be7-vvvv-f6600fd6cc14/drives/b!74Z4tSpMVk2tKScmZjisO1AULbZvjudLhKP2YA_WzBRoT2if-9ngRbwNEoecoTO3/root/children
https://graph.microsoft.com/v1.0/sites/b57886ef-vvvv-4d56-ad29-27266638ac3b,b62d1450-8e6f-4be7-vvvv-f6600fd6cc14/drives/b!74Z4tSpMVk2tKScmZjisO1AULbZvjudLhKP2YA_WzBRoT2if-9ngRbwNEoecoTO3/items/01ATCFPNRYOGQCUL46MZDI6LKDDX35NQPB/children

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...