We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

rajhanskumar's avatar
rajhanskumar
Explorer | Level 3
5 years ago

Rename folder and file Directly from the Dropbox

Hello Team,

 

We have implemented Webhook functionality when we are renaming files or folders getting the response to continue API, but We do not identify what files or folder has been changed.

 

Any specific tag in the JSON response, while renaming folder and files.

 

Thanks & Regards

 Vineet Dubey2

 

 

 

 

   

2 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    When monitoring changes via the Dropbox API, moves/renames will be represented as a deletion of the item at the original path, and an addition of the item at the new path. There isn't a specific tag that identifies a rename operation in particular, but you can keep track of file IDs to detect renames. File IDs don't change when something is renamed.

     

    I recommend reading the File Access Guide and Detecting Changes Guide for more information on interacting with the Dropbox filesystem via the API.

     

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
411 Following

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 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!