Azure / Microsoft365R

R SDK for interacting with Microsoft 365 APIs
Other
318 stars 46 forks source link

Use delta query to track changes #205

Open harrismcgehee opened 8 months ago

harrismcgehee commented 8 months ago

Would it be possible to add a delta query option to the "getters" in this package? It'd be nice to be able to easily operate on the new items since the previous run of code.

https://learn.microsoft.com/en-us/graph/delta-query-overview#use-delta-query-to-track-changes-in-a-resource-collection

I could imagine:

site <- Microsoft365R::get_sharepoint_site()
site$get_list(list_id, delta=TRUE)

or

site <- Microsoft365R::get_sharepoint_site()
site$get_delta_list(list_id, delta=odatadeltaLink)