Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
devb
11 months agoNew member | Level 1
How to filter events in dotnet SDK ?
I want to only query the team events of the event type file_download. I can't seem to figure out how I'm supposed to do it the way the developers intended. I can't find clear documentation on how to ...
DB-Des
Dropbox Community Moderator
11 months agoHi devb,
Thanks for the report! We're investigating this issue. We'll follow up here once we have an update.
- DB-Des11 months ago
Dropbox Community Moderator
Hi devb,
Got a quick update for you. The "AsFileDownload" method, in this case, is for casting subtypes of existing instances of union types, not for setting new instances of parameters like EventTypeArg.FileDownload.
For your use case, the correct use would be:
GetTeamEventsResult events = await _dropbox.TeamLog.GetEventsAsync(eventType: EventTypeArg.FileDownload.Instance);
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!