<?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: using php to get list of shared folders in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-php-to-get-list-of-shared-folders/m-p/619830#M28545</link>
    <description>&lt;P&gt;Dropbox doesn't offer an official SDK for PHP in particular, so you'll need to either call &lt;A href="https://www.dropbox.com/developers/documentation/http/overview" target="_blank"&gt;the HTTPS endpoints&lt;/A&gt; directly, or use a &lt;A href="https://www.dropbox.com/developers/documentation/communitysdks" target="_blank"&gt;third party library&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To list all of the "namespaces" (which includes shared folders) for the team, you can use the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list" target="_blank"&gt;/2/team/namespaces/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list-continue" target="_blank"&gt;/continue&lt;/A&gt;] endpoints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the metadata for a shared folder, including the path, if any, for the specified user, you would call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_folder_metadata" target="_blank"&gt;/2/sharing/get_folder_metadata&lt;/A&gt;. (The API doesn't return folder creation date or total size unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To list the members (including both owner and non-owners) of a shared folder and their access levels, you would use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members" target="_blank"&gt;/2/sharing/list_folder_members&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members-continue" target="_blank"&gt;/continue&lt;/A&gt;].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that to access these sharing endpoints when connected to the team itself, you should use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_blank"&gt;the "member file access" feature&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following guides may be helpful:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/reference/getting-started" target="_blank"&gt;https://www.dropbox.com/developers/reference/getting-started&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;https://developers.dropbox.com/oauth-guide&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-file-access-guide&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-sharing-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-sharing-guide&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-team-files-guide&lt;/A&gt; &lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 01 Sep 2022 17:41:49 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-09-01T17:41:49Z</dc:date>
    <item>
      <title>using php to get list of shared folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-php-to-get-list-of-shared-folders/m-p/619801#M28544</link>
      <description>&lt;P&gt;I'm the new admin for our org's dropbox, and I'm trying to get my arms around everything that's been created in the last 10 years. In particular, I'm trying to get some details on shared folders. My understanding is I need to use the API to get the info I need. There are at least 500 shared folders, so going through them manually is proving to be quite time consuming.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some familiarity with php, so I'd prefer using that to do the work. The trouble is, I don't really know where to start, beyond registering my app in Dropbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to get a list of all shared folders (not just the ones owned by admin), with the following fields if possible: folder name, creation date, owner, "shared with list" (other users), folder path (as seen by admin), size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone point me in the right direction?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 09:31:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-php-to-get-list-of-shared-folders/m-p/619801#M28544</guid>
      <dc:creator>dragon-edify</dc:creator>
      <dc:date>2022-09-06T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: using php to get list of shared folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-php-to-get-list-of-shared-folders/m-p/619830#M28545</link>
      <description>&lt;P&gt;Dropbox doesn't offer an official SDK for PHP in particular, so you'll need to either call &lt;A href="https://www.dropbox.com/developers/documentation/http/overview" target="_blank"&gt;the HTTPS endpoints&lt;/A&gt; directly, or use a &lt;A href="https://www.dropbox.com/developers/documentation/communitysdks" target="_blank"&gt;third party library&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To list all of the "namespaces" (which includes shared folders) for the team, you can use the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list" target="_blank"&gt;/2/team/namespaces/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list-continue" target="_blank"&gt;/continue&lt;/A&gt;] endpoints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the metadata for a shared folder, including the path, if any, for the specified user, you would call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_folder_metadata" target="_blank"&gt;/2/sharing/get_folder_metadata&lt;/A&gt;. (The API doesn't return folder creation date or total size unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To list the members (including both owner and non-owners) of a shared folder and their access levels, you would use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members" target="_blank"&gt;/2/sharing/list_folder_members&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members-continue" target="_blank"&gt;/continue&lt;/A&gt;].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that to access these sharing endpoints when connected to the team itself, you should use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_blank"&gt;the "member file access" feature&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following guides may be helpful:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/reference/getting-started" target="_blank"&gt;https://www.dropbox.com/developers/reference/getting-started&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;https://developers.dropbox.com/oauth-guide&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-file-access-guide&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-sharing-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-sharing-guide&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-team-files-guide&lt;/A&gt; &lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 01 Sep 2022 17:41:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-php-to-get-list-of-shared-folders/m-p/619830#M28545</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-01T17:41:49Z</dc:date>
    </item>
  </channel>
</rss>

