<?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 How to Implement an exhaustive notification system with API V2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265478#M15570</link>
    <description>&lt;P&gt;I am tasked with building an email notification system for my company which will alert our employees whenever a file is changed, moved, deleted, created, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have properly set up webhooks with the Business API, so whenever somebody makes a change I get a list of all user id's relevant to that folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From that ID I call files_list_folder_continue and pass in a cursor from the last time that specific user was notified of something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me deletedMetadata, fileMetadata, and FolderMetadata, but only within the FileMetadata am I able to see information about who made the action&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From deletedMetadata, and FolderMetadata it doesn't give me information like the timestamp, or the id of the person who made the folder, or deleted the item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is what other ways do I have of finding information like the name of the person who deleted a folder, or created a new shared folder etc. ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when somebody creates a new shared folder and invites several people into it, my webhook only gets the userid of the person who created the shared folder, so how am I supposed to notify the people who got shared into the folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:15:20 GMT</pubDate>
    <dc:creator>nskobov</dc:creator>
    <dc:date>2019-05-29T09:15:20Z</dc:date>
    <item>
      <title>How to Implement an exhaustive notification system with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265478#M15570</link>
      <description>&lt;P&gt;I am tasked with building an email notification system for my company which will alert our employees whenever a file is changed, moved, deleted, created, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have properly set up webhooks with the Business API, so whenever somebody makes a change I get a list of all user id's relevant to that folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From that ID I call files_list_folder_continue and pass in a cursor from the last time that specific user was notified of something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me deletedMetadata, fileMetadata, and FolderMetadata, but only within the FileMetadata am I able to see information about who made the action&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From deletedMetadata, and FolderMetadata it doesn't give me information like the timestamp, or the id of the person who made the folder, or deleted the item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is what other ways do I have of finding information like the name of the person who deleted a folder, or created a new shared folder etc. ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when somebody creates a new shared folder and invites several people into it, my webhook only gets the userid of the person who created the shared folder, so how am I supposed to notify the people who got shared into the folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:15:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265478#M15570</guid>
      <dc:creator>nskobov</dc:creator>
      <dc:date>2019-05-29T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement an exhaustive notification system with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265725#M15578</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox API doesn't directly return a few of these pieces of information unfortunately, such as file ID in DeleteMetadata, modified/deleted time in FolderMetadata/DeletedMetadata, or modified_by for FolderMetadata, but I'll pass these along as feature requests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some other things you can do though. You can store the last known (File|Folder)Metadata object for a&amp;nbsp;particular path and id, so that when you get a DeletedMetadata, you can check what the last known file ID was for that path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check who is the owner, and that access level other members have, for any particular folder using&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members" target="_blank"&gt;/2/sharing/list_folder_members&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members-continue" target="_self"&gt;/continue&lt;/A&gt;].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, for Business apps, you can use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_self"&gt;/2/team_log/get_events&lt;/A&gt;&amp;nbsp;to get a log of events for all members.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, when members are invited to a shared folder, that doesn't automatically add the folder to their accounts, so it won't trigger a webhook. They will&amp;nbsp;receive notifications of the invite directly from&amp;nbsp;Dropbox itself anyway though. (You will then&amp;nbsp;receive webhooks when they do accept the invite and add the folder to their accounts.)&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 00:26:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265725#M15578</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-02-20T00:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement an exhaustive notification system with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265726#M15579</link>
      <description>&lt;P&gt;Thanks Greg, I really appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 00:30:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265726#M15579</guid>
      <dc:creator>nskobov</dc:creator>
      <dc:date>2018-02-20T00:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement an exhaustive notification system with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265728#M15580</link>
      <description>&lt;P&gt;Sorry I marked the post as answered, but I actually have an additional question regarding the team log get events call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using that call, and I get back a lot of potentially useful information, but it gives me the team log starting with the creation of the team which was several months ago, I then recursively call team log get events continue with the previous cursor, to try to go through the entire events log to try to get the most recent events, but after several minutes this crashes my program because I'm guessing its just so much data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get the most recent event cursor, or better yet, get an event log for a specific person?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 00:35:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265728#M15580</guid>
      <dc:creator>nskobov</dc:creator>
      <dc:date>2018-02-20T00:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement an exhaustive notification system with API V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265818#M15588</link>
      <description>You can specify a particular time range, and/or a particular member, via the `time` and `account_id` parameters, respectively. You can find more information on those in the documentation:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The API v2 Explorer may be helpful for building/testing these queries:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events" target="_blank"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events&lt;/A&gt;</description>
      <pubDate>Tue, 20 Feb 2018 17:58:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-Implement-an-exhaustive-notification-system-with-API-V2/m-p/265818#M15588</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-02-20T17:58:47Z</dc:date>
    </item>
  </channel>
</rss>

