Hello everyone,
I am trying to check get total size of subfolder and files, inside one subfolder placed in one personal sharepoint.
The way that I was using, was through sharepoint API with metrics, with this I get bigger sizes (think that it's related with revisions), for example, here on metrics I have the value of 2.8 GB for that folder, but in reality, if I copy this folder, I will have only the sum of file sizes (a total of around 50 MB):

So, how can I get only the sum of that file size and all subfolder in that Documents folder?