Forum Discussion
Sayan Ghosh
Jul 29, 2016Copper Contributor
O365 latest files API?
As a O365 user, I love the capability of the Outlook client to show the latest files I have worked on across all Office client apps in Recent Files tabs. Is there a client side API that can be embedded into custom apps (at least on Windows, ideally across all platforms supporting O365 client apps) which would allow the custom app to have access to Recent Files? Could be a big boost in productivity for custom apps.
- Sayan GhoshCopper ContributorDid some more digging around and seems that would be in the OneDrive API (in which case I used the wrong forum, apologies!). Am I correct in understanding? https://dev.onedrive.com/drives/recent_files.htm
- Mike PlatvoetSteel Contributor
Hi Sayan, I can confirm that this REST call will do the trick.
You may also want to take a look at the Microsoft Graph for the latest version of this REST call:
https://graph.microsoft.io/en-us/docs/api-reference/beta/api/drive_recent