简体   繁体   English

如何在 MicrosoftGraph Query 中获取文件夹和文件以及内部文件夹或文件

[英]how to Get the Folder and Files and Inner Folders or Files in MicrosoftGraph Query

在 MicrosoftGraph 中,我想知道如何进行查询,该查询为我提供 Perticular Folder 和内部文件夹项目或文件。

https://graph.microsoft.com/v1.0/me/drive/root/search(q='jpg')? Select=name,id,webUrl,*

You can try this query and see if you get the desired results.你可以试试这个查询,看看你是否得到了想要的结果。

https://graph.microsoft.com/v1.0/me/drive/root:/Your Folder Path/?$expand=children($select=id,name) https://graph.microsoft.com/v1.0/me/drive/root:/你的文件夹路径/?$expand=children($select=id,name)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM