<?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 Why should I remove the entry and all its children for each DeletedMetadata when using list_folder? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535415#M25761</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am keeping a local cache of the contents of my dropbox account using files/list_folder and files/list_folder/continue. There is a guide in the documentation on the exact steps that I need to perform to achieve that, which is absolutely great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot wrap my head around why for each DeletedMetadata I should delete the entry AND all of its children. I understand why we should delete the entry, but what about the children? Since the entry has been deleted in dropbox, this means that all of its children have also been deleted, which in turn means that every child of the entry will receive its own DeletedMetadata. I do not see the benefits of deleting the children together with the entry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I delete only the entry itself whenever I get a DeletedMetadata and not delete its children, will my local cache be in sync with the dropbox contents?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My uneducated guess would be that we need to do this because if we delete the parent without deleting its children, it would be impossible to delete the children, because we can no longer access them. However, this is not an issue in my case. Deleting parentless children is still possible in the database I am using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing anything. Perhaps, there is another reason to delete the children that I have not thought of?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Denis&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 11:59:44 GMT</pubDate>
    <dc:creator>dkoshenkov</dc:creator>
    <dc:date>2021-07-27T11:59:44Z</dc:date>
    <item>
      <title>Why should I remove the entry and all its children for each DeletedMetadata when using list_folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535415#M25761</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am keeping a local cache of the contents of my dropbox account using files/list_folder and files/list_folder/continue. There is a guide in the documentation on the exact steps that I need to perform to achieve that, which is absolutely great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot wrap my head around why for each DeletedMetadata I should delete the entry AND all of its children. I understand why we should delete the entry, but what about the children? Since the entry has been deleted in dropbox, this means that all of its children have also been deleted, which in turn means that every child of the entry will receive its own DeletedMetadata. I do not see the benefits of deleting the children together with the entry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I delete only the entry itself whenever I get a DeletedMetadata and not delete its children, will my local cache be in sync with the dropbox contents?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My uneducated guess would be that we need to do this because if we delete the parent without deleting its children, it would be impossible to delete the children, because we can no longer access them. However, this is not an issue in my case. Deleting parentless children is still possible in the database I am using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing anything. Perhaps, there is another reason to delete the children that I have not thought of?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Denis&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 11:59:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535415#M25761</guid>
      <dc:creator>dkoshenkov</dc:creator>
      <dc:date>2021-07-27T11:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why should I remove the entry and all its children for each DeletedMetadata when using list_fold</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535473#M25769</link>
      <description>&lt;P&gt;You are not guaranteed to receive a DeletedMetadata entry for each child in the case where you receive a DeletedMetadata for the parent, so you should make sure to delete all of the children in your local cache as well whenever you receive a DeletedMetadata for a parent. If you do not do so, your local cache may get out of sync with the state on Dropbox.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 16:12:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535473#M25769</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-07-27T16:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why should I remove the entry and all its children for each DeletedMetadata when using list_fold</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535658#M25778</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for the fast reply! I get it now.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 10:20:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Why-should-I-remove-the-entry-and-all-its-children-for-each/m-p/535658#M25778</guid>
      <dc:creator>dkoshenkov</dc:creator>
      <dc:date>2021-07-28T10:20:43Z</dc:date>
    </item>
  </channel>
</rss>

