You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Babel3d
7 years agoNew member | Level 2
Webhook notification .NET
Hello, I am working on a .NET app, which is integrated with the dropbox api. I managed to upload, list, delete files without any problems. Now, I am trying to use webhooks for my app. I have a ded...
- 7 years agoBy default, the listFolder/listFolderContinue methods will only return items in the folder you specify, and not in nested folders under that.
If you want nested results, you'll need to set recursive=true when first calling listFolder:
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm
pcuycs
6 years agoExplorer | Level 3
hi Babel3d , Greg-DB
I'm working with dropbox webhook using asp.net api
I was created 2 uri, one for verify, another for received response message from dropbox and both are successfully.
the response message content
{"list_folder": {"accounts": ["dbid:yyyyyyyyyyyyy"]}, "delta": {"users": [xxxxxxxxxxxx]}}
But with above message
1. I don't know what are type of notifications raised? Add, Modified, Moved, Deleted -> at files & folders level ?
2. How do i know what is the file name and who has changed?
3. what does [xxxxxxxxxxxx] mean?
thanks for help!
- Greg-DB6 years agoDropbox Staff
pcuycs I recommend reviewing the webhooks tutorial and documentation (be sure to switch to the "documentation" tab for that) as it covers this in detail:
https://www.dropbox.com/developers/reference/webhooks
To answer your specific questions though:
- Webhook notifications are sent for any kind of file/folder changes.
- The notifications themselves don't indicate what changed, only that something changed. You need to call the list_folder endpoints to determine what changed.
- The "xxxxxxxxxxxx" in your sample is the old API v1 style of user IDs. You do not need to use it. It conveys the same information as the new API v2 style (e.g., "dbid:yyyyyyyyyyyyy" in your sample) which you should use.
- pcuycs6 years agoExplorer | Level 3
thanks Greg-DB
I read it,
I store the latest cursor and deleted 1,2.. files on the dropbox, but when used postman to call https://api.dropboxapi.com/2/files/list_folder/continue api, i don't see any entries item
What have i done wrong?
image link: http://prntscr.com/mroei2- Greg-DB6 years agoDropbox Staff
pcuycs We'll need some more information to help troubleshoot this issue. Please open a new thread with additional details so we can help with this. Specifically, please share:
- the request and response for /2/files/list_folder
- information about where/how you deleted the files
- the webhook notification
- the request and response for /2/files/list_folder/continue
Be sure to redact the access token of course.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 7 hours agoIf 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!