<?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: Get the list of files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287858#M17607</link>
    <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;endpoint expects an object for 'shared_link', with a key 'url' and optionally a key 'password'. So, it should look like this:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/list_folder \
    --header "Authorization: Bearer &amp;lt;&amp;lt;my_app_token&amp;gt;&amp;gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"\",\"shared_link\":{\"url\":\"https://www.dropbox.com/sh/doxhqxkjtiahkns/AADHM1f9uaFGLQHgtERCiLcna\"},\"recursive\": false,\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false,\"include_mounted_folders\": true}"&lt;/PRE&gt;
&lt;P&gt;I&amp;nbsp;recommend using &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder" target="_self"&gt;the API v2 Explorer&lt;/A&gt; to help build these.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 16:12:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-07-30T16:12:19Z</dc:date>
    <item>
      <title>Get the list of files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287808#M17598</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry for my English.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a shared link.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;I need to get a list of files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I execute the query:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/list_folder \
    --header "Authorization: Bearer &amp;lt;&amp;lt;my_app_token&amp;gt;&amp;gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"\",\"shared_link\":\"https://www.dropbox.com/sh/doxhqsfkjtiahkns/AADHM1f9uagbhGLQHgtERCiLcna\",\"recursive\": false,\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false,\"include_mounted_folders\": true}"&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Response:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Error in call to API function "files/list_folder": request body: shared_link: expected object, got string&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Why?&amp;nbsp;How right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:11:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287808#M17598</guid>
      <dc:creator>New_Horizons</dc:creator>
      <dc:date>2019-05-29T09:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get the list of files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287858#M17607</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;endpoint expects an object for 'shared_link', with a key 'url' and optionally a key 'password'. So, it should look like this:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/list_folder \
    --header "Authorization: Bearer &amp;lt;&amp;lt;my_app_token&amp;gt;&amp;gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"\",\"shared_link\":{\"url\":\"https://www.dropbox.com/sh/doxhqxkjtiahkns/AADHM1f9uaFGLQHgtERCiLcna\"},\"recursive\": false,\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false,\"include_mounted_folders\": true}"&lt;/PRE&gt;
&lt;P&gt;I&amp;nbsp;recommend using &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder" target="_self"&gt;the API v2 Explorer&lt;/A&gt; to help build these.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 16:12:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287858#M17607</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-30T16:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get the list of files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287861#M17608</link>
      <description>Everything worked out. Many thanks.</description>
      <pubDate>Mon, 30 Jul 2018 16:16:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-the-list-of-files/m-p/287861#M17608</guid>
      <dc:creator>New_Horizons</dc:creator>
      <dc:date>2018-07-30T16:16:07Z</dc:date>
    </item>
  </channel>
</rss>

