<?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: List folders at root (list_folder v2 API) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160511#M5518</link>
    <description>&lt;P&gt;Based on that error, you got that from the /sharing/create_shared_link_with_settings endpoint. That's expected for that endpoint, as you can't create a shared link for the root. Your original question was about /files/list_folder, where the empty string should work to represent root.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2016 03:31:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-01-12T03:31:19Z</dc:date>
    <item>
      <title>List folders at root (list_folder v2 API)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160508#M5515</link>
      <description>&lt;P&gt;Is it possible to list the contents of the Dropbox root directory from the v2 APIs?&lt;/P&gt;
&lt;P&gt;Calling the list_folder endpoint as follows yields an error:&lt;/P&gt;
&lt;P&gt;curl -H 'authorization: Bearer ****' -H 'content-type: application/json' '&lt;A href="https://api.dropboxapi.com/2/files/list_folder" rel="nofollow noreferrer" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt;' -d '{ "path": "/" }'&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;{"error_summary": "path/malformed_path/", "error": {".tag": "path", "path": {".tag": "malformed_path"}}}&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160508#M5515</guid>
      <dc:creator>Mario P.18</dc:creator>
      <dc:date>2019-05-29T09:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: List folders at root (list_folder v2 API)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160509#M5516</link>
      <description>&lt;P&gt;Hi Mario, you can certainly list the contents of the root. The root is identified by the empty string, ", and not a single slash, "/", though. So, you just need to call with this instead:&lt;/P&gt;
&lt;PRE&gt;-d '{ "path": " }'&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2016 02:12:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160509#M5516</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-01-12T02:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: List folders at root (list_folder v2 API)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160510#M5517</link>
      <description>&lt;P&gt;@Gregory&lt;/P&gt;
&lt;P&gt;Unfortunately, I tried that earlier and received the following error which appears like a missed case in the validation regex:&lt;/P&gt;
&lt;PRE&gt;Error in call to API function "sharing/create_shared_link_with_settings": request body: path: '' did not match&amp;nbsp;pattern '((/|id:).*)|(rev:[0-9a-f]{9,})'&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2016 03:28:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160510#M5517</guid>
      <dc:creator>Mario P.18</dc:creator>
      <dc:date>2016-01-12T03:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: List folders at root (list_folder v2 API)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160511#M5518</link>
      <description>&lt;P&gt;Based on that error, you got that from the /sharing/create_shared_link_with_settings endpoint. That's expected for that endpoint, as you can't create a shared link for the root. Your original question was about /files/list_folder, where the empty string should work to represent root.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 03:31:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160511#M5518</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-01-12T03:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: List folders at root (list_folder v2 API)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160512#M5519</link>
      <description>&lt;P&gt;Indeed you are correct - I must not have tested the empty-space against the list_folder command before posting.&lt;/P&gt;
&lt;P&gt;It was, however,&amp;nbsp;my intention to try and create a share at the root of my Dropbox.&amp;nbsp;Looking through the user interface, however, it doesn't appear like this is a valid operation.&lt;/P&gt;
&lt;P&gt;Thanks for taking the time and following up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 04:17:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folders-at-root-list-folder-v2-API/m-p/160512#M5519</guid>
      <dc:creator>Mario P.18</dc:creator>
      <dc:date>2016-01-12T04:17:22Z</dc:date>
    </item>
  </channel>
</rss>

