<?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: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662281#M30063</link>
    <description>&lt;P&gt;Hi Здравко,&lt;/P&gt;&lt;P&gt;thank you. In the mean time I already was evaluating this endpoint, but unfortunately another problem occurred: No job is running (even after polling for about 10 Minutes or so), job id - of course - is present.&lt;/P&gt;&lt;P&gt;Setting for&amp;nbsp;/2/sharing/share_folder: "force_async":false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 14:59:38 GMT</pubDate>
    <dc:creator>1575475</dc:creator>
    <dc:date>2023-02-22T14:59:38Z</dc:date>
    <item>
      <title>How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662247#M30060</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;yesterday our Team Dropbox has been converted to shared team space.&lt;/P&gt;
&lt;P&gt;Now our API (REST calls via HTTP) we've developed during the last months is completely broken since we cannot create team folders anymore.&lt;/P&gt;
&lt;P&gt;Documentation says we've to use shared folders instead.&lt;/P&gt;
&lt;P&gt;So question is:&lt;/P&gt;
&lt;P&gt;After calling above endpoint we receive a job id and no metadata.&lt;/P&gt;
&lt;P&gt;After the job is completed&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/2/sharing/check_job_status&lt;/PRE&gt;
&lt;P&gt;we need to fetch the metadata of the shared folder.&lt;/P&gt;
&lt;P&gt;So far, nothing is working.&lt;/P&gt;
&lt;P&gt;Calling the endpoint again results in an error (folder is already shared or so).&lt;/P&gt;
&lt;P&gt;The endpoint&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/2/sharing/get_folder_metadata&lt;/PRE&gt;
&lt;P&gt;needs an ID but we've only the path at this time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please elaborate.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:11:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662247#M30060</guid>
      <dc:creator>1575475</dc:creator>
      <dc:date>2023-02-22T14:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662269#M30062</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1575475"&gt;@1575475&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;The endpoint&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/2/sharing/get_folder_metadata&lt;/PRE&gt;&lt;P&gt;needs an ID but we've only the path at this time.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1575475"&gt;@1575475&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In such a case calling &lt;A title="Returns the metadata for a file or folder" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;/2/files/get_metadata&lt;/A&gt; will let you know you shared folder ID (sharing_info.shared_folder_id) and... you can continue from now on, I believe. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:43:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662269#M30062</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-02-22T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662281#M30063</link>
      <description>&lt;P&gt;Hi Здравко,&lt;/P&gt;&lt;P&gt;thank you. In the mean time I already was evaluating this endpoint, but unfortunately another problem occurred: No job is running (even after polling for about 10 Minutes or so), job id - of course - is present.&lt;/P&gt;&lt;P&gt;Setting for&amp;nbsp;/2/sharing/share_folder: "force_async":false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:59:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662281#M30063</guid>
      <dc:creator>1575475</dc:creator>
      <dc:date>2023-02-22T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662291#M30064</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1575475"&gt;@1575475&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... No job is running (even after polling for about 10 Minutes or so), job id - of course - is present.&lt;/P&gt;&lt;P&gt;Setting for&amp;nbsp;/2/sharing/share_folder: "force_async":false&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm not aware of any explicit time limits. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; For sure 10 mins should be enough. You can force such a query to be async, but no opposite! Setting "force_async" to false (by the way the default value) will just not force it be async, but without guarantees for synchronous execution. You should always check is the execution synchronous or asynchronous (if not forced) and when asynchronous, wait for complete or error. You should poll using /2/sharing/check_job_status; what does it return?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 15:13:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662291#M30064</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-02-22T15:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662359#M30067</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1575475"&gt;@1575475&lt;/a&gt; First, for information on interacting with a team space using the API, I recommend reading &lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank"&gt;the Team Files Guide&lt;/A&gt;, if you haven't already. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to create a folder inside the team space, you can use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_blank"&gt;/2/files/create_folder_v2&lt;/A&gt; with the 'Dropbox-API-Path-Root' header set to the team space. See the guide above for information on using that header.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If/when you use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder" target="_blank"&gt;/2/sharing/share_folder&lt;/A&gt; to create a shared folder and get back an 'async_job_id', you should use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-check_share_job_status" target="_blank"&gt;/2/sharing/check_share_job_status&lt;/A&gt; (not &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-check_job_status" target="_blank"&gt;/2/sharing/check_job_status&lt;/A&gt;) to check the result of the share job and receive the resulting metadata when it's complete.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:07:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662359#M30067</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-22T17:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662582#M30072</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks. Yes, switching to the&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-check_share_job_status" target="_blank" rel="noopener noreferrer"&gt;/2/sharing/check_share_job_status&lt;/A&gt;&amp;nbsp;endpoint did the trick&amp;nbsp;and I already see some silver lining&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@0BE3A164B7988B8EDC3C0140CFEAFC02/emoticons/1f603.png" alt=":grinning_face_with_big_eyes:" title=":grinning_face_with_big_eyes:" /&gt;&lt;/P&gt;&lt;P&gt;I've another question regarding access inheritance.&lt;/P&gt;&lt;P&gt;Our scenario will look like this:&lt;/P&gt;&lt;P&gt;We'll have multiple apps where each app will be bound to a corresponding shared folder inside our new team space (as virtual root).&lt;/P&gt;&lt;P&gt;Each app will be operated by different users, so it would make sense not to inherit the team space to these folders, won't it?&lt;/P&gt;&lt;P&gt;Will adding users to a shared folder work as before when using the team folder api (creating a group, add this group to the folder, adding users to the group)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again and best regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 10:34:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662582#M30072</guid>
      <dc:creator>1575475</dc:creator>
      <dc:date>2023-02-23T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain shared folder metadata after calling endpoint /2/sharing/share_folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662664#M30077</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1575475"&gt;@1575475&lt;/a&gt; Yes, it sounds like non-inheritance would make sense in that case, and yes you can make folders in the team space, and make groups, permit groups to folders, and add members to groups.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 14:05:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-obtain-shared-folder-metadata-after-calling-endpoint-2/m-p/662664#M30077</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-23T14:05:46Z</dc:date>
    </item>
  </channel>
</rss>

