如何获取最近访问的OneDrive for Business文件?

时间:2018-05-14 23:41:29

标签: sharepoint office365 microsoft-graph onedrive

我想获得一个打开(没有编辑)和修改过的文件的列表。

我查看了Microsoft Graph的/Recent api,它不会返回最近查看的OneDrive Business文件,只返回修改过的文件。

我还看了看:https://graph.microsoft.com/beta/me/insights/used

本文中的api正是我所需要的,它返回lastAccessedDateTime

 "lastUsed": {
                "lastAccessedDateTime": "2018-05-03T15:31:53.913Z",
                "lastModifiedDateTime": "2018-04-27T14:50:04.066Z"
            },

但是......它返回的结果不完整..它不会返回我打开的最新文件。希望这些问题在v1.0发布后能够得到解决。

有没有办法使用Microsoft Graph或One Drive / Sharepoint api获取One Drive for Business中最近访问过的已打开文件的列表?

0 个答案:

没有答案