So, the event we receive via webhooks to a 'full dropbox'-scoped app looks like:
[2023-09-15 22:55:42,859 wew.handler_plugins. DEBUG] Received Dropbox event:
{
"delta": {
"teams": {
"dbtid:AADBsJ4zo2S_tS_n3iyHzatB4h16n2yT-2c": [
"dbmid:AAAfY_5hmDSrYzFkd7T2BrWPPepevkydBY0",
"dbmid:AAA22dYwGQDF4xFp03M2NWEZq_7jgJV0XX8",
"dbmid:AAD0WqFm-gWxsfpUj1qAMXiUKYJTcGXRrjk"
]
}
},
"list_folder": {
"teams": {
"dbtid:AADBsJ4zo2S_tS_n3iyHzatB4h16n2yT-2c": [
"dbmid:AAAfY_5hmDSrYzFkd7T2BrWPPepevkydBY0",
"dbmid:AAA22dYwGQDF4xFp03M2NWEZq_7jgJV0XX8",
"dbmid:AAD0WqFm-gWxsfpUj1qAMXiUKYJTcGXRrjk"
]
}
}
}
This differs from the folder-scoped app events, in that those have an 'accounts' list under the "list_folder" event/directive. I saw something somewhere that said that we should technically, probably, be receiving only one team ID at a time, but that under Dropbox's current architecture, we might receive more than one but that it's not predictable when. I also saw something somewhere else that mentioned that we should be enumerating all users for each team in order to then enumerate a stored cursor for each? That doesn't seem right. Can you clarify?
Meanwhile, I can't seem to even figure out which method to call to get the list of members for a given team ID (just to explore the possibility of the above). For reference, this is the Python team client/interface documentation: https://dropbox-sdk-python.readthedocs.io/en/latest/api/team.html . There's too much of a divide between the RPC naming conventions and the Python calling conventions. I've tried blindly calling `dbx.team_get_info(team_id)` and `dbx.team_members_get_info()` It's just not intuitive. Can you provide an example? I checked the examples/ path in the Python project, but there's almost nothing there, and none of it seems relevant. I've also search Google and StackOverflow, and there's just nothing out there.
Also, what is "delta" (in the event) and how do we use it? There were no relevant references found via the API documentation search nor the Python documentation search. We could use more recipes/examples in the documentation.
Thank you very much.