<?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: List folder api with admin header in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762764#M33364</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; For business account i will use events api and my question is for non business accounts - if for example accounts with family plan which is not business account i can get all the files for any user with the admin user token or do i have some workaround here to detect changes in the account without iterate and check each user files with the according token? i want to be able to store one cursor for the account which will detect any change in the account for any user.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 07:22:21 GMT</pubDate>
    <dc:creator>sarshavs</dc:creator>
    <dc:date>2024-04-09T07:22:21Z</dc:date>
    <item>
      <title>List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762515#M33347</link>
      <description>&lt;P&gt;Hello, im using the Api list_folder and try to get any event for any user in the team. is it possible?&lt;BR /&gt;Im using the header dropbox-api-select-admin and i saw in the docs -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-----&lt;/P&gt;
&lt;P&gt;Specifically, there are two different modes for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Dropbox-API-Select-Admin&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;header that calls may support:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Whole Team&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The endpoint can access content of team folders and team spaces as well as the team members' home namespaces.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;-----&lt;BR /&gt;but i see the list folder dont returns team members home ns events&lt;BR /&gt;&lt;BR /&gt;that the api's im using:&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder/continue" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_folder/continue&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:20:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762515#M33347</guid>
      <dc:creator>sarshavs</dc:creator>
      <dc:date>2024-04-08T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762539#M33348</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;that the api's im using:&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder/continue" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_folder/continue&lt;/A&gt;&lt;/SPAN&gt;&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/1742066"&gt;@sarshavs&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Just to underline here that as a result of such calls sequence only file/folder changes happened between first and second endpoint calls will get back, not something before. Are you sure there is such thing?&amp;nbsp;🧐 The key moment here is not only what end point you call but also how!!!&lt;/P&gt;&lt;P&gt;Share your entire callings sequence/logic together with the unexpected output and what you expect to be there for further comments.&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 12:07:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762539#M33348</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-08T12:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762573#M33354</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt; As Здравко pointed out, if you use /2/files/list_folder/get_latest_cursor, the returned cursor will only allow you to get entries from after the point in time when you made that call, up until when you make the /2/files/list_folder/continue call. If you instead want to get all entries, you would need to start from &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt; instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, all three of these endpoints do support 'Dropbox-API-Select-User' and 'Dropbox-API-Select-Admin', but you would need to call and supply each relevant member ID as needed. (And if you want to list all of the content across the team, check out &lt;A href="https://dropbox.tech/developers/listing-team-contents" target="_blank"&gt;this post&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, be sure to check out &lt;A href="https://www.dropbox.com/lp/developers/reference/dbx-team-files-guide" target="_blank"&gt;the Team Files Guide&lt;/A&gt; for information on how to access team-owned content.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, to list events for the team, check out the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_blank"&gt;/2/team_log/get_events&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_blank"&gt;/continue&lt;/A&gt;] functionality.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 14:45:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762573#M33354</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-08T14:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762607#M33357</link>
      <description>&lt;P&gt;Thanks for the Answer,&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Im aware when im using latest cursor only evens after will be visible.&lt;BR /&gt;I will demonstrate what i need to achieve&amp;nbsp;&lt;BR /&gt;I have app which dropbox accounts are connected to (can be business account and non business accounts)&lt;BR /&gt;My goal is to get any new event in the account without knowing which user has actually generated the event.&amp;nbsp;&lt;BR /&gt;I want to prevent from using webhook and instead trigger every couple minutes task that will fetch new events for specific account. Im trying to achieve that with one cursor for the account and the solution will be applicable both for business / no business accounts.&lt;BR /&gt;&lt;BR /&gt;Both your suggestions using business api so for non business i would need to use something different.&amp;nbsp;&lt;BR /&gt;Thanks for the time and the answeres &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;</description>
      <pubDate>Mon, 08 Apr 2024 16:48:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762607#M33357</guid>
      <dc:creator>sarshavs</dc:creator>
      <dc:date>2024-04-08T16:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762609#M33358</link>
      <description>&lt;P&gt;Another question - all the non business accounts has upgraded to be business accounts? so every account now will support the business api if that the case it will work for me with using the get events ep.&lt;BR /&gt;&lt;BR /&gt;If not so does i need to supply in list folder ep for non business account the member id or i will get all the files for any user in the non business account?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:57:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762609#M33358</guid>
      <dc:creator>sarshavs</dc:creator>
      <dc:date>2024-04-08T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762615#M33359</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt;, If you want to check if there is some event (file/folder change), usage of endpoint &lt;A title="A longpoll endpoint to wait for changes on an account" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-longpoll" target="_blank" rel="noopener"&gt;/2/files/list_folder/longpoll&lt;/A&gt; is much more efficient compared to continuously pooling. Such a solution would work with both personal and team account. Once an event appears you can check what has changed.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:14:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762615#M33359</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-08T17:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762619#M33360</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;What you suggesting only notify if changes has made and dont return which user or how i can get what specifically changed in the account... because then i need to go back to list folder and then the same problem&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:48:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762619#M33360</guid>
      <dc:creator>sarshavs</dc:creator>
      <dc:date>2024-04-08T17:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762622#M33361</link>
      <description>&lt;P&gt;I just said it's more efficient - low latency (if this is important for you). Something that difficult can be achieved just looping with listing only. For individual account you cannot achieve information who changed particular file, only the file(s) can be figured out. For team account, you have to use team endpoints though. In your application you can decide whether you have to use team endpoints based on current account in use (is it team or individual). That's it.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:34:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762622#M33361</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-04-08T17:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762764#M33364</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; For business account i will use events api and my question is for non business accounts - if for example accounts with family plan which is not business account i can get all the files for any user with the admin user token or do i have some workaround here to detect changes in the account without iterate and check each user files with the according token? i want to be able to store one cursor for the account which will detect any change in the account for any user.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 07:22:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762764#M33364</guid>
      <dc:creator>sarshavs</dc:creator>
      <dc:date>2024-04-09T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762887#M33372</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Both your suggestions using business api so for non business i would need to use something different.&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Note that the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank" rel="noopener noreferrer"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/continue&lt;/A&gt;] endpoints can be used by any type of account, Business or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Another question - all the non business accounts has upgraded to be business accounts? so every account now will support the business api if that the case it will work for me with using the get events ep.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, not all Business accounts have or will be upgraded to Business accounts. Dropbox offers &lt;A href="https://www.dropbox.com/plans" target="_blank"&gt;a variety of different types of plans&lt;/A&gt; and users can choose which to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;If not so does i need to supply in list folder ep for non business account the member id or i will get all the files for any user in the non business account?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When the app is linked to a specific account (Business or not), the app does not need to specify the member ID when calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank" rel="noopener noreferrer"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/continue&lt;/A&gt;], since there is only one account connected anyway. (When the app is connected to the team itself, it needs to &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_blank"&gt;specify the member ID&lt;/A&gt; in order to identify which account to operate on.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i want to be able to store one cursor for the account which will detect any change in the account for any user.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For any particular user account, you can use the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank" rel="noopener noreferrer"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/continue&lt;/A&gt;] functionality, starting with a &lt;CODE&gt;path&lt;/CODE&gt; parameter of the empty string &lt;CODE&gt;""&lt;/CODE&gt;, to continuously list the contents of that root using the last returned cursor. You would store multiple cursors, one per user account, to monitor multiple user accounts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest reading the&amp;nbsp;&lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;File Access Guide&lt;/A&gt; and &lt;A href="https://developers.dropbox.com/detecting-changes-guide" target="_blank"&gt;Detecting Changes Guide&lt;/A&gt;, if you haven't already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:42:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/762887#M33372</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-09T15:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/763049#M33386</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; Thanks alot for that elaborate answer !&lt;BR /&gt;So for non business accounts i have nothing to worry about because we have only one user.&lt;BR /&gt;But for business account there may be option to not use team space configuration and if that the case does the team/get_events endpoint will return all events in the account?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 07:15:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/763049#M33386</guid>
      <dc:creator>sarshavs</dc:creator>
      <dc:date>2024-04-10T07:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: List folder api with admin header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/763103#M33388</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1742066"&gt;@sarshavs&lt;/a&gt; Yes, &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_blank"&gt;/2/team_log/get_events&lt;/A&gt; is supported for teams with the team space configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're interested in event types from the "file_operations" category though, note that those are only available to some Business plans, per the documentation:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Note that the file_operations category and &amp;amp; analogous paper events are not available on all Dropbox Business &lt;A href="https://www.dropbox.com/business/plans-comparison" target="_blank"&gt;plans&lt;/A&gt;. Use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-features-get_values" target="_blank"&gt;features/get_values&lt;/A&gt; to check for this feature.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The list_folder functionality can be used by any account though.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 12:35:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-folder-api-with-admin-header/m-p/763103#M33388</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-10T12:35:06Z</dc:date>
    </item>
  </channel>
</rss>

