<?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: Sending Folder IDs instead of Folder path in APIs in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260784#M15202</link>
    <description>No, unfortunately I don't have a timeline for if or when this might be added.</description>
    <pubDate>Tue, 16 Jan 2018 17:30:52 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-01-16T17:30:52Z</dc:date>
    <item>
      <title>Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256136#M14832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are developing an app wherein we are storing the folderpath to upload files directly to theat folder in Dropbox. If the user unknowingly changes the folder name, we face conflict while invoking upload api or the file is uploaded to the newly created folder of that name. To overcome this issue, it would be better if we could pass the folder id instead of folder path, to upload api. Is it possible? Also is there a way to throw an exception when the folder path is not found while uploading, instead of creating the folder?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:16:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256136#M14832</guid>
      <dc:creator>Naga Abhinaya T</dc:creator>
      <dc:date>2019-05-29T09:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256198#M14840</link>
      <description>&lt;P&gt;Yes, you can upload a file into a folder, using a path relative to the ID for the folder, like "&amp;lt;FOLDER ID&amp;gt;/&amp;lt;FILE NAME&amp;gt;".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a simple example of what that would look like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/create_folder_v2 \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/test_256136_folder\"}"

# {
#   "metadata": {
#     "name": "test_256136_folder",
#     "path_lower": "/test_256136_folder",
#     "path_display": "/test_256136_folder",
#     "id": "id:25N5ksooX-sAAAAAAAMgxg"
#   }
# }

curl -X POST https://content.dropboxapi.com/2/files/upload \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Dropbox-API-Arg: {\"path\": \"id:25N5ksooX-sAAAAAAAMgxg/test_256136_file.txt\"}" \
    --header "Content-Type: application/octet-stream" \
    --data-binary "test data"

# {
#   "name": "test_256136_file.txt",
#   "path_lower": "/test_256136_folder/test_256136_file.txt",
#   "path_display": "/test_256136_folder/test_256136_file.txt",
#   "id": "id:25N5ksooX-sAAAAAAAMgxw",
#   "client_modified": "2017-12-11T15:45:12Z",
#   "server_modified": "2017-12-11T15:45:13Z",
#   "rev": "72689021eccc7",
#   "size": 9,
#   "content_hash": "824979ede959fefe53082bc14502f8bf041d53997ffb65cbbe3ade5803f7fb76"
# }
&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Dec 2017 15:47:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256198#M14840</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-12-11T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256199#M14841</link>
      <description>There isn't a way to disable the automatic creation of parent folders when uploading to a path though, but I'll pass this along as a feature request.</description>
      <pubDate>Mon, 11 Dec 2017 15:47:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256199#M14841</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-12-11T15:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256304#M14853</link>
      <description>&lt;P&gt;Thanks Greg!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 11:28:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/256304#M14853</guid>
      <dc:creator>Naga Abhinaya T</dc:creator>
      <dc:date>2017-12-12T11:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/257074#M14901</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the solution given, I was able to list files in a folder using the folderId of the folder. Can I use the folder Id for /create_folder_v2 api as well. I tried the same and got the following error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;TEXT&gt;Error in call to API function "files/create_folder_v2": request body: path: 'id:dB3gk09sK_QAAAAAAAAAgw' did not match pattern '(/(.|[\r\n])*)|(ns:[0-9]+(/.*)?)'&lt;/TEXT&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Request Body:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"path":"id:dBxxxxxxxxxxxxx",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"autorename": false&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please advise on this?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 14:18:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/257074#M14901</guid>
      <dc:creator>Naga Abhinaya T</dc:creator>
      <dc:date>2017-12-18T14:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/257091#M14907</link>
      <description>The create_folder_v2 endpoint doesn't support file IDs like this.&lt;BR /&gt;&lt;BR /&gt;Also, a file ID identifies an existing item, and is assigned when that item is created. The create_folder_v2 endpoint creates a new folder, so supplying just a file ID wouldn't make sense, as it identifies an existing item. Do you mean you want to be able to create a new folder relative to an existing parent folder, as with my upload example above, where you identify that existing parent via ID? That's not possible with create_folder_v2, but I'll be happy to send that along as a feature request.</description>
      <pubDate>Mon, 18 Dec 2017 15:45:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/257091#M14907</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-12-18T15:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260697#M15195</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you let me know as when this feature will be included? Any tentative timeframe?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 10:06:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260697#M15195</guid>
      <dc:creator>Naga Abhinaya T</dc:creator>
      <dc:date>2018-01-16T10:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260784#M15202</link>
      <description>No, unfortunately I don't have a timeline for if or when this might be added.</description>
      <pubDate>Tue, 16 Jan 2018 17:30:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260784#M15202</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-16T17:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260855#M15211</link>
      <description>&lt;P&gt;Thanks Greg!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 07:00:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/260855#M15211</guid>
      <dc:creator>Naga Abhinaya T</dc:creator>
      <dc:date>2018-01-17T07:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/346307#M19966</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;I have a similar requirement. I want to create a folder by passing a parent folder id to the path. Do your API supports this now? As the question was asked more than a year ago, Is something changed?&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2019 00:57:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/346307#M19966</guid>
      <dc:creator>zainulabideen</dc:creator>
      <dc:date>2019-05-25T00:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Folder IDs instead of Folder path in APIs</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/346754#M19978</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1131254"&gt;@zainulabideen&lt;/a&gt;&amp;nbsp;No, unfortunately I don't have an update here. This capability has not been added to the API.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 15:52:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sending-Folder-IDs-instead-of-Folder-path-in-APIs/m-p/346754#M19978</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-05-28T15:52:06Z</dc:date>
    </item>
  </channel>
</rss>

