We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Filip J.1
9 years agoNew member | Level 1
Calling Methods "asTeamMember" dropbox V2 api .NET
In the V1 api you have the option to make a call as a team member that will:
<param name="asTeamMember">Specify the member_id of the user that the app wants to act on.</param>
This is the old V1 ...
Greg-DB
9 years agoDropbox Staff
The ListRevisionAsync method is always specific to a single user, and it takes a path parameter to identify the path inside that user's account.
In the first example, Client.ListRevisionAsync(path), the client object needs to be for a "user-linked" API app, where the app is linked to a specific user. This would be a DropboxClient object.
If your app is registered for the "Full Dropbox" permission, for instance, your app is a user-linked app.
In the second example, Client.AsMember(asTeamMember).ListRevisionAsync(path), the client object would be for a "team-linked API app. For this kind of API app, the app is connected to the Dropbox for Business team itself, not a single user. This would be a DropboxTeamClient object. That being the case, by default there is no specific user to operate on. That's why AsMember is necessary to specify which member of the team to operate on.
If your app is registered for the "Team information" permission, for instance, your app is a team-linked app.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 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!