We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
오부경
3 years agoExplorer | Level 4
Is it possible to distinguish whether it is old or new with only the Revision ID?
hello.
Is it possible to distinguish whether it is old or new with only the Revision ID?
When a very complex task is performed in a short time, a lot of changes information using listfolder comes in at once, so I want to use RevisionID to distinguish whether it is previous or not.
In the Revision ID obtained from listfolder, I want to distinguish whether this RevisionID is old or new by comparing it to the RevisionID I already have.
Could this be possible?
I wonder if it is possible simply by String Compare or if I have to cut off a part of the ID and turn it into a number.
No, the "rev" value, e.g., as returned by /2/files/list_folder[/continue], is an opaque revision identifier. It can be used for a strict equality check with other rev values, but it's not meant to be modified, and shouldn't be used to attempt to determine if a rev is older or newer than another.
For information on how to monitor changes using the Dropbox API, please refer to the Detecting Changes Guide.
2 Replies
- Greg-DB3 years ago
Dropbox Community Moderator
No, the "rev" value, e.g., as returned by /2/files/list_folder[/continue], is an opaque revision identifier. It can be used for a strict equality check with other rev values, but it's not meant to be modified, and shouldn't be used to attempt to determine if a rev is older or newer than another.
For information on how to monitor changes using the Dropbox API, please refer to the Detecting Changes Guide.
- 오부경3 years agoExplorer | Level 4
Thank you for your answer.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!