<?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 Get parent folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-parent-folder/m-p/245952#M13976</link>
    <description>&lt;P&gt;Is there any way to get parent folder from child file or folder metadata.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:29 GMT</pubDate>
    <dc:creator>suzuka</dc:creator>
    <dc:date>2019-05-29T09:18:29Z</dc:date>
    <item>
      <title>Get parent folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-parent-folder/m-p/245952#M13976</link>
      <description>&lt;P&gt;Is there any way to get parent folder from child file or folder metadata.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-parent-folder/m-p/245952#M13976</guid>
      <dc:creator>suzuka</dc:creator>
      <dc:date>2019-05-29T09:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get parent folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-parent-folder/m-p/246002#M13989</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/499362"&gt;@suzuka&lt;/a&gt;&amp;nbsp;If you have the metadata for a file or folder, e.g., as returned by &lt;A href="https://www.dropboxforum.com/2/files/get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt;, that will include a path_lower, like:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"/homework/math/prime_numbers.txt"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can parse the path to get the parent folder, e.g., in this example:&lt;/P&gt;
&lt;PRE&gt;"/homework/math"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then use&amp;nbsp;&lt;A href="https://www.dropboxforum.com/2/files/get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt;&amp;nbsp;again with that path to get the full metadata for that.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 16:34:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-parent-folder/m-p/246002#M13989</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-09T16:34:01Z</dc:date>
    </item>
  </channel>
</rss>

