Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Brian B.62
9 years agoNew member | Level 1
Need to fetch all events of all users under the same admin using single access token
Hi,
We want to fetch all the events of all users under the same admin user using admin user's access token. We created "Business API App" with "Team Member File Access" permission. We have couple o...
Greg-DB
Dropbox Community Moderator
9 years agoUsing a Dropbox Business API app with the "Team Member File Access" permission sounds like the right way to do this.
To get non-file events, you can use the /1/team/log/get_events endpoint, as you mentioned.
To get file events, you will need to use the user-specific methods. In the Java SDK, using the asMember method to operate on a specific member is the right way.
There isn't a single way to get that for all members of a team though, so you'll need to iterate through and perform on each member individually. We'll consider this a feature request though.
For server-side apps, using webhooks is the best way to get notified of file changes quickly. For client-side apps, you can using longpolling.
As you mentioned though, the API v2 Java SDK is still considered beta, so we don't recommend using it in production quite yet.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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, Facebook or Instagram.
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!