Forum Discussion

오부경's avatar
오부경
Explorer | Level 3
2 years ago
Solved

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.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 51 minutes ago
217 Following

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 or Facebook.

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!