question

CloudyElements-4424 avatar image
0 Votes"
CloudyElements-4424 asked JosephXu-MSFT commented

OneDrive API: How to identify if a file/folder is updated or newly created in delta API?

I'm trying to use this onedrive delta API
GET /_api/v2.0/drive/root/view.delta?token={token}

How can I identify if the folder event is a created/updated event?
i.e if the folder is newly created OR has been updated?

microsoft-graph-files
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CloudyElements-4424 Per my test, we only can find the lastModifiedDateTime and createdDateTime properties. Use these two attributes and the current date to determine whether to create or update. :)

0 Votes 0 ·

0 Answers