Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
Jay-Chung
8 years agoExplorer | Level 3
Webhook to get the latest changes for each user in the notification
I recived the body of notification as example listed below. {
list_folder: {
accounts: ['dbid:AABRfEVfzNwPNP0tffaaZFQy...']
},
delta: {
users: [1037..]
}
} However, I did not ...
Jay-Chung
8 years agoExplorer | Level 3
Hello Greg:
Thanks for your response. I studies the api document later. However, there was somthing still confused me.
The api /2/files/list_folder needed path parameter and/2/files/list_folder/continue needed cursor parameter.
However, I did not know how to get them from the body of webhook notification which merely contained account ID.
Greg-DB
Dropbox Community Moderator
8 years agoFor /2/files/list_folder, the path is whatever path in the account you want to list. To list everything, you would use the empty string "" to identify root.
For /2/files/list_folder/continue, the cursor is the last cursor your received from /2/files/list_folder or /2/files/list_folder/continue for that user. (You'll need to persist the cursor on your side, identified by the account ID.)
For /2/files/list_folder/continue, the cursor is the last cursor your received from /2/files/list_folder or /2/files/list_folder/continue for that user. (You'll need to persist the cursor on your side, identified by the account ID.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,011 PostsLatest Activity: 18 hours ago
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!