1

I uploaded a file to a user's OneDrive and than I used SharePoint REST API to fetch the file information. I used the following endpoint:

https://*-my.sharepoint.com/personal/*/_api/Web/GetFileByServerRelativePath(decodedurl='*file-path*')/

The response I got:

{
    *
    "TimeCreated": "2019-12-09T09:42:39Z",
    "TimeLastModified": "2019-12-09T09:42:41Z",
    *
}

As you can see the TimeCreated and TimeLastModified differ by 2 seconds, however, I didn't touch the file after it was uploaded. Can someone explain why do I see such a difference?

4

0 回答 0