Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
we have reviced the notification json format, but how can get actual file chnages.
When you first store the access tokens and cursors in your app (e.g., in your database), you should record which Dropbox account ID each one belongs to. (For any given access token, you can use /2/users/get_current_account to check the account ID, which just needs to be done once each.)
Then, when you get the webhook notification, you can use the account ID to look up the corresponding access token and cursor.
The webhook notification payload will tell you which account has had changes, so you can then use the corresponding access token for that account to call /2/files/list_folder[/continue] (or corresponding methods in whatever SDK/library you're using, if any) to see what exactly changed.
We are using from postman https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor
parameter
To clarify, are you calling /2/files/list_folder/get_latest_cursor before or after you received the webhook notification?
The order should look like this:
Thnaks, for the fast response
i want to ask question
we have recived Cursor response from Get lateat cursor API and save cursor data into database and
I have recived the notification and the save the notification json format into database
How can get User details from which API
{"list_folder": {"accounts": ["dbid:AADsKehzrQqxnG4GnclQAYU2mU0ER_f9vOw"]}, "delta": {"users": [2399690544]}}
please suggest me
When you first store the access tokens and cursors in your app (e.g., in your database), you should record which Dropbox account ID each one belongs to. (For any given access token, you can use /2/users/get_current_account to check the account ID, which just needs to be done once each.)
Then, when you get the webhook notification, you can use the account ID to look up the corresponding access token and cursor.
Thanks for the response Greg
Can i use GetAccount API , i got the response dbId for reciving notification and pass the parameter dbId into GetAccount API so getting the response for particular user???
???????
You can technically use /2/users/get_account to look up the account information for a particular account based on an account ID, but for the sake of efficiency I recommend instead recording the information initially as described in my previous comment.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!