Share via

MS Graph API using JSON BATCH request t to get recent files for a specific document library

Patrick Rote 101 Reputation points
2021-07-12T05:14:19.057+00:00

Is there a way to get recent files from a specific document libraries in a site collection? I tried

https://graph.microsoft.com/beta/me/insights/used
But I wasn't able to use filter to get the specific document library url i needed as it is not supported.

I then tried to use

/me/drive/recent

this display all the files for the signed in user but how do use the rest json batch to request the recent files for a signed in user of a specific document library? .

Do i need to use a json batch for it to work?

If yes how to?

Thanks in Advance

Community Center | Not monitored
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.