Hi,
Using Dropbox Java SDK v4.0.1 for development. I am trying to restore deleted files using -
files().restore(path, rev)
But its throwing an error "invalid_revision".
I am getting path from metadata for deleted file in listFolder() with includeDeleted = true.
And I am getting rev from listRevisions() for the file. Getting the latest revision from that list.
Is this API correct to do this task or is there anything to help ?
Thanks
Aman