<?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: Remove group from team folder, lack of documentation in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626191#M28959</link>
    <description>&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;Most probably you are looking for rather something like 'client_modified'&amp;nbsp;&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; (not 'server_modified'). If not set explicitly, the times are the same ('client_modified' is assumed to be like 'server_modified'). On upload a file, you can set 'client_modified' to equals to your 'SAP internal server clock'. Later you can compare it directly. Using 'server_modified' you can do the opposite task (keep on your SAP server Dropbox specific timestamp and check if something changes on Dropbox).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 14:26:32 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2022-09-30T14:26:32Z</dc:date>
    <item>
      <title>Remove group from team folder, lack of documentation</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/625852#M28936</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;after successfully adding a group to the team folder I've created (thanks again to Greg and Sdrawko) I also tried to remove that very group afterwards using&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/2/sharing/remove_folder_member&lt;/PRE&gt;
&lt;P&gt;with the following json parameter:&lt;/P&gt;
&lt;P&gt;{ "leave_a_copy":false, "shared_folder_id":"3032413665", "member": { ".tag":"dropbox_id", "dropbox_id":"g:159b846c7487bd9000000000000011b3" } }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After executing the method I receive the following JSON response:&lt;/P&gt;
&lt;P&gt;{".tag": "async_job_id", "async_job_id": "dbjid:AADFNCNH28N0hbWG2XEZIoDfOFJCnCE39h6D2rl8mjhqO-GrQXauw9XEhVl1xgyT5ma9Z8h56s8vKddwPaPNhqaB"}&lt;/P&gt;
&lt;P&gt;Which seems to be as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately after listing the team folder groups the group I want to remove is still present at the team folder.&lt;/P&gt;
&lt;P&gt;Since there's no documentation to be found on how to fetch the status of the async job using REST calls I've no idea how to proceed.&lt;/P&gt;
&lt;P&gt;That link doesn't lead to something useful:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-09-29 101822.jpg" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/32032i5D50F9F6B70ED5FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-29 101822.jpg" alt="Screenshot 2022-09-29 101822.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The group I want to remove has the following attributes:&lt;/P&gt;
&lt;P&gt;Debugging session of&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/2/sharing/list_folder_members&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-09-29 100502.jpg" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/32030i59AF701CBB18C5FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-29 100502.jpg" alt="Screenshot 2022-09-29 100502.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(ABAP language doesn't allow field names starting with a dot, so "DOTTAG" here actually refers to ".tag" which is mapped during the JSON deserialization)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding a group to a team folder is pretty much useless without the possibility to remove the group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm afraid to ask for assistance once more &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Jan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:25:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/625852#M28936</guid>
      <dc:creator>1575475</dc:creator>
      <dc:date>2022-09-29T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove group from team folder, lack of documentation</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/625920#M28939</link>
      <description>&lt;P&gt;Apologies this isn't better documented; I'll ask the team to fix that up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you get an&amp;nbsp;async_job_id back from /2/sharing/remove_folder_member, you should call &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 see the result of the operation, e.g., if it completed successfully or if it failed and if so why. Please give that a try and let us know if that doesn't seem to be working properly.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:52:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/625920#M28939</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-29T13:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove group from team folder, lack of documentation</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626153#M28951</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;thank you very much. I've implemented an additional method to fetch the async job status which works very well. And, also the group has been successfully removed from the team folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've one &lt;U&gt;last&lt;/U&gt; (&lt;STRONG&gt;and very important&lt;/STRONG&gt;) question, out of above topic:&lt;/P&gt;&lt;P&gt;Is it possible to retrieve the exact DBX time which is used for the "server_modified" timestamps? (Pls. remember, only REST calls via HTTP are possible)&lt;/P&gt;&lt;P&gt;Background:&lt;/P&gt;&lt;P&gt;I want to sync files/folders between SAP and DBX.&lt;/P&gt;&lt;P&gt;Each file/folder has a timestamp in DBX as well as in SAP.&lt;/P&gt;&lt;P&gt;After the initial upload SAP -&amp;gt; DBX, files/folders may be changed in SAP as well as in DBX.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These timestamps rely on the SAP internal server clock and the DBX clock(?) I guess, DBX will have some central time management?&lt;/P&gt;&lt;P&gt;Anyway, as both clocks will differ, it will be difficult to discover which file/folder is the current (newest) version when comparing these timestamps.&lt;/P&gt;&lt;P&gt;So it'll be essential to compute the difference of SAP clock and DBX clock right before comparison.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I upload a dummy file into DBX and fetch the metadata afterwards (server_modified_time), but this looks a tad clumsy &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea for a smarter solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:28:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626153#M28951</guid>
      <dc:creator>1575475</dc:creator>
      <dc:date>2022-09-30T11:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Remove group from team folder, lack of documentation</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626191#M28959</link>
      <description>&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;Most probably you are looking for rather something like 'client_modified'&amp;nbsp;&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; (not 'server_modified'). If not set explicitly, the times are the same ('client_modified' is assumed to be like 'server_modified'). On upload a file, you can set 'client_modified' to equals to your 'SAP internal server clock'. Later you can compare it directly. Using 'server_modified' you can do the opposite task (keep on your SAP server Dropbox specific timestamp and check if something changes on Dropbox).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 14:26:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626191#M28959</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-30T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove group from team folder, lack of documentation</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626218#M28960</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1575475"&gt;@1575475&lt;/a&gt; Dropbox does not offer a way to check or sync with its own clock. I'd suggest you use whatever standard time synchronization service is available to you on your platform (e.g., using NTP). You can find &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#date-format" target="_blank"&gt;the documentation for the date format that the Dropbox API uses here&lt;/A&gt;, and a &lt;A href="https://developers.dropbox.com/detecting-changes-guide" target="_blank"&gt;guide about Detecting Changes here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 15:31:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626218#M28960</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-30T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remove group from team folder, lack of documentation</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626882#M28992</link>
      <description>&lt;P&gt;Hi Sdrawko, hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since now everything's running fine I'd like to thank you again for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 06:33:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Remove-group-from-team-folder-lack-of-documentation/m-p/626882#M28992</guid>
      <dc:creator>1575475</dc:creator>
      <dc:date>2022-10-04T06:33:25Z</dc:date>
    </item>
  </channel>
</rss>

