<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dropbox Webhooks to get group changes notifications in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724713#M32022</link>
    <description>&lt;P&gt;I'm not sure I quite follow your latest post. Using team_groups_list and team_groups_list_continue is the right way to list the groups on a team, and using team_groups_members_list and team_groups_members_list_continue is the right way to list the members of a group, but "team_members_get_info_continue" isn't a Dropbox API method. Was that a typo?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you could share the relevant code snippet(s) of what you have so far to help illustrate?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 17:40:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-10-26T17:40:19Z</dc:date>
    <item>
      <title>Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724255#M32002</link>
      <description>&lt;DIV&gt;I'm using the Dropbox Business API. I've been successful at experimenting for a while with webhooks for file changes and having an understanding of the documents getting uploaded/deleted from Dropbox from all the users.&lt;/DIV&gt;&lt;DIV&gt;Now I need to do the same but for user permissions. I need to understand given a list of users with access to Dropbox, what folders they can access, and ideally I want to do it using Dropbox webhooks. This business is set up in a way that users get access to the right folders by putting them into a Group.&lt;/DIV&gt;&lt;DIV&gt;So, I mainly have one question: can webhooks register and push a notification when there is change in a group? (i.e. an user has been added/deleted to/from a group)&lt;/DIV&gt;&lt;DIV&gt;When configuring the Dropbox app for the webhook, I've tried giving it all the permissions that seemed to make sense but I’m only getting notifications when a member has been added/deleted to a shared folder, and not when a group (with users in it) has got access to that particular folder, if it makes sense.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would really appreciate if you could give us some insight here and provide any documentation that is not on the website (if there is any).&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Oct 2023 12:47:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724255#M32002</guid>
      <dc:creator>andreavillares</dc:creator>
      <dc:date>2023-10-25T12:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724287#M32003</link>
      <description>&lt;P&gt;Unfortunately Dropbox doesn't offer the ability to get webhook notifications for changes to groups, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 14:25:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724287#M32003</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-25T14:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724571#M32011</link>
      <description>&lt;P&gt;Thank you for your quick reply.&lt;/P&gt;&lt;P&gt;Is there any other alternative that I could use?&lt;/P&gt;&lt;P&gt;I tried a similar approach using cursors and different methods such as&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;team_groups_list&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;team_groups_list_continue(cursor)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;team_groups_members_list&lt;/PRE&gt;&lt;PRE&gt;team_groups_members_list_continue(cursor)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and I was expecting to obtain when calling the continue with the previous cursors, an empty list if there wasn't any changes in the groups or the members within a group but it doesn't seem to be working that way as it does with other methods such as&lt;/P&gt;&lt;PRE&gt;team_members_get_info&lt;/PRE&gt;&lt;PRE&gt;team_members_get_info_continue&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;however in team_members_get_info, I don't get new information when a member gets added to a group.&lt;/P&gt;&lt;P&gt;Does my problem make sense?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 12:38:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724571#M32011</guid>
      <dc:creator>andreavillares</dc:creator>
      <dc:date>2023-10-26T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724713#M32022</link>
      <description>&lt;P&gt;I'm not sure I quite follow your latest post. Using team_groups_list and team_groups_list_continue is the right way to list the groups on a team, and using team_groups_members_list and team_groups_members_list_continue is the right way to list the members of a group, but "team_members_get_info_continue" isn't a Dropbox API method. Was that a typo?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you could share the relevant code snippet(s) of what you have so far to help illustrate?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 17:40:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/724713#M32022</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-26T17:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/725372#M32042</link>
      <description>&lt;P&gt;Hi, I'm referring to the following API endpoints:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/members/list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/members/list/continue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/groups/list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/groups/list/continue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/groups/members/list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/groups/members/list/continue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the moment I can call&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/members/list to get a list of all the members within Dropbox Business, and if I call&amp;nbsp;/members/list/continue with the latest cursors and hasn't been any changes, it returns with a new cursor and has_more false, so my code can interpret that if there are no members returned when calling&amp;nbsp;/members/list/continue, there hasn't been any changes to the list of members.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However this is not the case when I call the other endpoints (that considering that it is based on a cursor, I was expecting similar behaviour). I.e. when I call&amp;nbsp;&amp;nbsp;/groups/members/list giving it a group id, it returns a list of the members of the group and a cursor. When I use that cursor to call&amp;nbsp;/groups/members/list/continue, it returns the same list even if there hasn't been any changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And same happens when calling&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/groups/list and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/groups/list/continue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does it make sense now? Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PS: in my posts before I was referring&amp;nbsp;to the Python SDK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 08:32:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/725372#M32042</guid>
      <dc:creator>andreavillares</dc:creator>
      <dc:date>2023-10-30T08:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/725519#M32052</link>
      <description>&lt;P&gt;Thanks for following up and clarifying. The behavior of "use that cursor to call /groups/members/list/continue, it returns the same list even if there hasn't been any changes" doesn't sound like the expected behavior. It looks like that's a bug on these /2/team/groups/list/continue and /2/team/groups/members/list/continue endpoints. I'll ask the team to look into it and I'll follow up here once I have any updates to share.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 19:01:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/725519#M32052</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-30T19:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/725839#M32068</link>
      <description>&lt;P&gt;Thank you Greg, this is almost a relief, as I wasn't sure if it was an issue with my understanding of the documentation.&lt;/P&gt;&lt;P&gt;I'll wait here for the answer &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 17:32:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/725839#M32068</guid>
      <dc:creator>andreavillares</dc:creator>
      <dc:date>2023-10-31T17:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/726136#M32079</link>
      <description>&lt;P&gt;Regarding the previous API endpoints, I was trying to work my way around it by doing the following using python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;dropbox &lt;SPAN&gt;import &lt;/SPAN&gt;DropboxTeam&lt;BR /&gt;&lt;BR /&gt;dbx_team_client = DropboxTeam(&lt;BR /&gt;&lt;SPAN&gt; oauth2_refresh_token&lt;/SPAN&gt;=config.dropbox_creds[&lt;SPAN&gt;'TOKEN'&lt;/SPAN&gt;]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;app_key&lt;/SPAN&gt;=config.dropbox_creds[&lt;SPAN&gt;'APP_KEY'&lt;/SPAN&gt;]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;app_secret&lt;/SPAN&gt;=config.dropbox_creds[&lt;SPAN&gt;'SECRET_KEY'&lt;/SPAN&gt;]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;user_id = &lt;SPAN&gt;'dbmid:xxxx'&lt;BR /&gt;&lt;/SPAN&gt;dbx_user_client = dbx_team_client.as_user(&lt;SPAN&gt;team_member_id&lt;/SPAN&gt;=user_id)&lt;BR /&gt;user_folders =dbx_user_client.sharing_list_folders()&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This is all in a Dropbox Business account, that's why I need to assume the user so I can call the API endpoint&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"/list_folder" to understand which folders the user has got access to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And it returns the following&lt;/P&gt;&lt;PRE&gt;ListFoldersResult(cursor=NOT_SET, entries=[SharedFolderMetadata(...)])&lt;/PRE&gt;&lt;P&gt;I don't understand why it doesn't return a cursor (as specified in documentation). I was hoping to save the cursor for each user and call&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"/list_folder/continue" to look for changes to the list of folders each user can access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there anything I'm missing here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 15:34:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/726136#M32079</guid>
      <dc:creator>andreavillares</dc:creator>
      <dc:date>2023-11-01T15:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Webhooks to get group changes notifications</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/726159#M32082</link>
      <description>&lt;P&gt;For &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folders" target="_blank"&gt;/2/sharing/list_folders&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folders-continue" target="_blank"&gt;/continue&lt;/A&gt;], the 'cursor' in the response is an optional value and is only returned "if there are additional shared folders that have not been returned yet", so it will not be set if there are no more entries to return.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, it's not suitable for monitoring for such changes over time like you're looking for, but I'll pass this along as a feature request for support for that. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, in my own testing of the bug on the /2/team/groups/list/continue and /2/team/groups/members/list/continue endpoints, I'm finding that it seems to be possible to work around the issue by setting the initial 'limit' parameter to a value lower than the number of entries to return. I can't guarantee that will currently or always work for you, but I'm mentioning it in case it's helpful in the meantime.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 17:11:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Webhooks-to-get-group-changes-notifications/m-p/726159#M32082</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-11-01T17:11:15Z</dc:date>
    </item>
  </channel>
</rss>

