如何获取下载URL onedrive图形api? [英] How to get the download URL onedrive graph api?
本文介绍了如何获取下载URL onedrive图形api?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请让我知道为什么这行不通吗?
Could you please let me know why this does not work? http://graph.microsoft.com/v1.0/me/drive/items/%3CitemId%3E?$select=id,name,@microsoft.graph.downloadUrl it retrieves the id and name but not the downloadUr.
解决方案
Sorry for late reponse,this is a known issue of Microsoft Graph API. For your requirement,use content.downloadUrl
instead of @microsoft.graph.downloadUrl
, just try this :
https://graph.microsoft.com/v1.0/me/drive/items/<item id>/children?$select=content.downloadUrl,id,name
Result :
这篇关于如何获取下载URL onedrive图形api?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文