<?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: share file inside a folder by id in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169900#M6324</link>
    <description>&lt;P&gt;thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it worked.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Jun 2016 02:48:25 GMT</pubDate>
    <dc:creator>Suporte S.</dc:creator>
    <dc:date>2016-06-25T02:48:25Z</dc:date>
    <item>
      <title>share file inside a folder by id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169898#M6322</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;I'm trying to share a file by his id.&lt;/P&gt;
&lt;P&gt;If the file it's on the root folder, using '/create_shared_link_with_settings' i can pass only the id, and testing on the api explorer works fine.&lt;/P&gt;
&lt;P&gt;So, i tried to do the same with a file inside a folder.&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/create_shared_link_with_settings \
&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/id:h8f3g764f73gf7fg","settings":{}}'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and this won't work.&lt;/P&gt;
&lt;P&gt;if work on the root by logic i expected that work on any folder.&lt;/P&gt;
&lt;P&gt;i don't want to rely on name, names can be very confusing.&lt;/P&gt;
&lt;P&gt;It is a bug or a limitation?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:32:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169898#M6322</guid>
      <dc:creator>Suporte S.</dc:creator>
      <dc:date>2019-05-29T09:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: share file inside a folder by id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169899#M6323</link>
      <description>&lt;P&gt;If you want to create a shared link for a file and you know the id&amp;nbsp;for the file, you can just use that, as opposed to trying to combine path and id. That is, if "id:h8f3g764f73gf7fg" is the id for a file at /myfolder/myfile that you want a shared link for, you can just use the id only:&lt;/P&gt;
&lt;PRE class="bash"&gt;&lt;CODE class="bash hljs"&gt;curl -X POST https://api.dropboxapi.com/&lt;SPAN class="hljs-number"&gt;2&lt;/SPAN&gt;/sharing/create_shared_link_with_settings \
  --header &lt;SPAN class="hljs-string"&gt;'Authorization: Bearer my-key'&lt;/SPAN&gt; \
  --header &lt;SPAN class="hljs-string"&gt;'Content-Type: application/json'&lt;/SPAN&gt; \
  --data &lt;SPAN class="hljs-string"&gt;'{"path":"id:h8f3g764f73gf7fg","settings":{}}'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Jun 2016 00:21:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169899#M6323</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-15T00:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: share file inside a folder by id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169900#M6324</link>
      <description>&lt;P&gt;thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it worked.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2016 02:48:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/share-file-inside-a-folder-by-id/m-p/169900#M6324</guid>
      <dc:creator>Suporte S.</dc:creator>
      <dc:date>2016-06-25T02:48:25Z</dc:date>
    </item>
  </channel>
</rss>

