<?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 How can I list content of sharded folder that has not mounted yet? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369141#M20842</link>
    <description>&lt;P&gt;How can I list content of sharded folder that has not been mounted yet?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2019 18:26:00 GMT</pubDate>
    <dc:creator>23W</dc:creator>
    <dc:date>2019-10-07T18:26:00Z</dc:date>
    <item>
      <title>How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369141#M20842</link>
      <description>&lt;P&gt;How can I list content of sharded folder that has not been mounted yet?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 18:26:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369141#M20842</guid>
      <dc:creator>23W</dc:creator>
      <dc:date>2019-10-07T18:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369158#M20844</link>
      <description>&lt;P&gt;The Dropbox API functionality for listing folders is generally only meant for mounted content, but you can technically list the contents of an unmounted folder by calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt; with the 'preview_url' (e.g., from the shared folder metadata) as the 'shared_link.url' parameter, like:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/list_folder \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"\", \"shared_link\": {\"url\": \"&amp;lt;PREVIEW_URL&amp;gt;\"}}"
&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:03:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369158#M20844</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-04T18:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369614#M20858</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;, thank you. It really works.&lt;/P&gt;&lt;P&gt;But next question appears: if such folder contains sub-folders, how to browse them?&lt;/P&gt;&lt;P&gt;"/2/files/lits_folder" returns list of sub-folders with theirs Ids. Direct attempt to use one of them with "/2/files/lits_folder" returns error "path not found". If i try to use "/2/sharing/get_folder_metadata" with sub-folder's id, i receive error "invalid id".&lt;BR /&gt;All those Ids have prefix like "id:_XXXXXX".&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 16:38:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369614#M20858</guid>
      <dc:creator>23W</dc:creator>
      <dc:date>2019-10-07T16:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369628#M20860</link>
      <description>&lt;P&gt;The "id" values for the listed items, starting file "id:", is the "file ID", which is different than a "shared folder ID", so you can't use that for&amp;nbsp;/2/sharing/get_folder_metadata,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the "path" parameter to list a subfolder when accessing a shared link via /2/files/list_folder though. That would look like:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/list_folder \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/subfoldername\", \"shared_link\": {\"url\": \"&amp;lt;PREVIEW_URL&amp;gt;\"}}"&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Oct 2019 17:53:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369628#M20860</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-07T17:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369909#M20870</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you. So if I for example have following structure in shared folder:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Shared Folder&lt;UL&gt;&lt;LI&gt;Sub Folder 1&lt;UL&gt;&lt;LI&gt;Sub Folder 2&lt;/LI&gt;&lt;LI&gt;file 1 in Sub Folder 1&lt;/LI&gt;&lt;LI&gt;file 2 in Sub Folder 1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;file 1 in Shared Foder&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And I want to browse contenten of "Sub Folder 1", I have to use "/2/files/list_folder" endpoint with "shared_link" of "Shared Folder" and "path" equal to "/Sub Folder 1".&lt;/P&gt;&lt;P&gt;If I want to do the same but for "Sub Folder 2", "path" parameter should be "/Sub Folder1/Sub Folder 2". Am I right?&lt;/P&gt;&lt;P&gt;It is not convenient way as for me because in my application it's possible that I know only "id" of "Sub Folder 2" and "shared id" of "Shared Folder", so I don't know exact relative path from "Shared Folder" to "Sub Folder 2". &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;P&gt;From other side, I've found that I can use "namespace" of "Shared Folder" to browse it content and use "id"s of files and folder directly as "path" parameter, without building "shared_link" url from PreviewUrl of "Shared Folder". As soon as I'm using your C# SDK, I build client via following method:&lt;/P&gt;&lt;PRE&gt;client = client.WithPathRoot(new Dropbox.Api.Common.PathRoot.NamespaceId(sharedFolder.SharedFolderId));&lt;/PRE&gt;&lt;P&gt;And looks like it works.&lt;BR /&gt;So can I use this method to work with Shared Folders that are NOT mounted to the user's storage? "Work" in this case means browse, upload, download, delete files, create sub folders and so on.&lt;/P&gt;&lt;P&gt;As I understand from documentation this method is suitable for Team Folders also, correct?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 17:09:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369909#M20870</guid>
      <dc:creator>23W</dc:creator>
      <dc:date>2019-10-08T17:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369911#M20871</link>
      <description>&lt;P&gt;For the first way, note that you can determine the relative nested path from the responses from /2/files/list_folder. For example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;call /2/files/list_folder with the 'shared_link', and 'path:""' =&amp;gt; the result shows the "Sub Folder 1"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;call /2/files/list_folder with the 'shared_link', and 'path:"/Sub Folder 1"' =&amp;gt; the result shows the "Sub Folder 2"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&lt;SPAN&gt;call /2/files/list_folder with the 'shared_link', and 'path:"/Sub Folder 1/Sub Folder 2"' =&amp;gt; the result shows the contents of "Sub Folder 2".&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;And yes, if that other way works for your use case, that's fine too. You can find more information on that functionality in &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;the Namespace Guide&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 17:19:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/369911#M20871</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-08T17:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370186#M20886</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you, using Namesapces works fine. With the same code I can now browse both team folders and shared but not mounted folders. If such folder is editable I can create\delete\rename subfolders, I can download\delete and rename files of the folder and from any deep subfolder.&lt;/P&gt;&lt;P&gt;But there is one strange issue. I can create\upload new file to &lt;U&gt;team folder&lt;/U&gt; but if I try to create\upload file to &lt;U&gt;shared folder (not mounted to account space)&lt;/U&gt;, I receive 503 error.&lt;BR /&gt;Example of such request headers (body is file content):&lt;/P&gt;&lt;PRE&gt;POST /2/files/upload HTTP/1.1
Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXX
User-Agent: MindManager/OfficialDropboxDotNetSDKv2/4.0.0.0
Dropbox-Api-Path-Root: {".tag":"namespace_id","namespace_id":"6428536912"}
Dropbox-API-Arg: {"path":"id:ZRivQP0OLRAAAAAAAAAALA","mode":{".tag":"overwrite"},"autorename":false,"mute":false,"strict_conflict":false}
Content-Type: application/octet-stream
Host: content.dropboxapi.com
Content-Length: 38669
Expect: 100-continue&lt;/PRE&gt;&lt;P&gt;And server's responce on it:&lt;/P&gt;&lt;PRE&gt;HTTP/1.1 503 Service Unavailable
Server: nginx
Date: Wed, 09 Oct 2019 16:29:49 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Content-Security-Policy: sandbox allow-forms allow-scripts
X-Dropbox-Request-Id: ec718807718c7913cbdd755f9e36c08c
X-Robots-Tag: noindex, nofollow, noimageindex&lt;/PRE&gt;&lt;P&gt;Could you help me find the bug? Because as for me, it looks like issue on server side or bug in C# Dropbox SDK.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 16:48:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370186#M20886</guid>
      <dc:creator>23W</dc:creator>
      <dc:date>2019-10-09T16:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370195#M20887</link>
      <description>&lt;P&gt;Attempting to upload to an unmounted shared folder will fail. The shared folder needs to be mounted for an app to make changes in it.&lt;/P&gt;
&lt;P&gt;We should return a better error message in this case though. I'll ask the team to update the API to return a useful error when this is attempted. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 17:24:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370195#M20887</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-09T17:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370401#M20894</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks, it's a bit disappointing but expected. Can you say, only upload operation is forbidden for such type of shared folder or I should avoid other modification operation like renaming, creating\deleting sub-folders? Currently they work fine, can I use them in production?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 08:14:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370401#M20894</guid>
      <dc:creator>23W</dc:creator>
      <dc:date>2019-10-10T08:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370497#M20897</link>
      <description>&lt;P&gt;Some other kinds of changes may work, but I can't guarantee if that's officially supported. I'll ask the team to confirm this and document it explicitly.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:04:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370497#M20897</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-10T15:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I list content of sharded folder that has not mounted yet?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370526#M20900</link>
      <description>&lt;P&gt;Great thank you. I'll wait confirmation and documentation of this feature.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 16:56:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-list-content-of-sharded-folder-that-has-not-mounted/m-p/370526#M20900</guid>
      <dc:creator>23W</dc:creator>
      <dc:date>2019-10-10T16:56:07Z</dc:date>
    </item>
  </channel>
</rss>

