<?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_shared_links from folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169945#M6334</link>
    <description>&lt;P&gt;ok, that's exactly what i ended up doing.&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Jun 2016 02:51:14 GMT</pubDate>
    <dc:creator>Suporte S.</dc:creator>
    <dc:date>2016-06-25T02:51:14Z</dc:date>
    <item>
      <title>list_shared_links from folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169943#M6332</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;On the API says "If a non-empty path is given, returns a list of all shared links that allow access to the given path"&lt;/P&gt;
&lt;P&gt;I have a folder with 5 files and 3 of them has a shared link&lt;/P&gt;
&lt;P&gt;When i ask for list_shared_links and pass the path to this folder the result is empty.&lt;/P&gt;
&lt;PRE class="bash"&gt;&lt;CODE class="bash hljs"&gt;&lt;SPAN&gt;&lt;SPAN&gt;curl -X POST https://api.dropboxapi.com/&lt;SPAN class="hljs-number"&gt;2&lt;/SPAN&gt;/sharing/list_shared_links \
&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;  --header &lt;SPAN class="hljs-string"&gt;'Authorization: Bearer my-key'&lt;/SPAN&gt; \
&lt;/SPAN&gt;&lt;SPAN&gt;  --header &lt;SPAN class="hljs-string"&gt;'Content-Type: application/json'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;\
  --data &lt;SPAN class="hljs-string"&gt;'{"path":"/myfolder"}'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;On the API it show this example&lt;/P&gt;
&lt;PRE class="last literal-block"&gt;{
    "path": "/Homework/Math"
}&lt;/PRE&gt;
&lt;P&gt;So it is possible, but i get this.&lt;/P&gt;
&lt;PRE class="json"&gt;&lt;CODE class="json hljs"&gt;{
  "&lt;SPAN class="hljs-attribute"&gt;links&lt;/SPAN&gt;": &lt;SPAN class="hljs-value"&gt;[]&lt;/SPAN&gt;,
  "&lt;SPAN class="hljs-attribute"&gt;has_more&lt;/SPAN&gt;": &lt;SPAN class="hljs-value"&gt;&lt;SPAN class="hljs-literal"&gt;false&lt;/SPAN&gt;
&lt;/SPAN&gt;}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i let the data empty show all the links that i have shared, in all folders.&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:32:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169943#M6332</guid>
      <dc:creator>Suporte S.</dc:creator>
      <dc:date>2019-05-29T09:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: list_shared_links from folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169944#M6333</link>
      <description>&lt;P&gt;That path parameter isn't a filter, exactly. Rather, the documentation also says:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"If a non-empty path is given, returns a list of all shared links that allow access to the given path - direct links to the given path and links to parent folders of the given path. "&lt;/P&gt;
&lt;P&gt;That means that calling for /myfolder won't list links for /myfolder/myfile. It will only list links for anything that allows access to /myfolder itself (either links for /myfolder specifically, or for parents of /myfolder.)&lt;/P&gt;
&lt;P&gt;If you want to get the existing links for the contents of /myfolder, you'll need to iterate through the&amp;nbsp;contents and call list_shared_links for each one.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 00:21:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169944#M6333</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-15T00:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: list_shared_links from folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169945#M6334</link>
      <description>&lt;P&gt;ok, that's exactly what i ended up doing.&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2016 02:51:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-shared-links-from-folder/m-p/169945#M6334</guid>
      <dc:creator>Suporte S.</dc:creator>
      <dc:date>2016-06-25T02:51:14Z</dc:date>
    </item>
  </channel>
</rss>

