Comments
-
I've already tried namespace relative path (ns:<namespace_id>/relative/path/to/file) but still got 409. How long do you think it will take for you guys to implement a better reporting API where we can simply run the report to calculate the size of deleted items rather than calling `list_revisions` on each item. When do you…
-
Greg, I have a pretty large data set with several hundred thousand deleted items. Moreover, the way Dropbox data are structured really sucks (i.e. If I list namespace and then list each folder using the namespace id, the paths returned are relative to the namespace. This is not an issue for team member or team folders, but…
-
Thanks for the explanation! However, if I am a team admin wouldn't that folder be mounted for me even if it is not shared with anyone?
-
I don't understand what you mean by not mounted. I logged in to Dropbox Team as a team admin and created team folder, the folder is not shared with anyone. How do I mount a folder then?
-
Greg, There is a team folder called 'Product Management', I make the following curl and get 409. curl -X POST -H "Authorization: Bearer <access_token>" -H "Dropbox-API-Select-Admin: <team_member_id of a team admin>" --data '{"path": "/Product Management"}' https://api.dropbox.com/2/files/list_folder Response:…
-
And my other question is about include_mounted_folders param. How does it work? I know if I set it to false when listing team member's folders, then I am only going to get unshared folders (i.e. no app/team/shared folders), but how it does it behave when I set it to false when listing team folders? For example, a team…
-
Thanks Greg! Yes, 'has_more' is True and when I call `list_folder/continue` with the cursor, I still don't get the recursive folder listing. That is only the child folder is returned in response not its contents. It was working last week. As for "Dropbox-API-Path-Root", the only reason I am using is if I don't use it, then…
-
Here's a sample that may help you understand how I am making the request: def list_folders(namespace_id): url = 'https://api.dropbox.com/2/files/list_folder' headers = {"Dropbox-API-Path-Root": json.dumps({".tag": "namespace_id", "namespace_id": namespace_id}) body = {"path": f"ns:{namespace_id}", "recursive": True,…
-
for namespace_list in session.post('2/team/namespaces/list'): for namespace in namespace_list: for listing in session.post('2/files/list_folder', headers={'Dropbox-API-Select-Admin': <team_member_id>}, json={'path': f'ns:{namespace[namespace_id]}', 'recursive': True, 'include_deleted': True}): for item in listing:…
-
Yes, I am not supplying the 'with root path' header. What about the deleted files/folders? There are several that don't return the path_display.
-
This is not true, there are several folders that are inside team folders and show up within the team folder on the UI, but when I list those folders via API I don't see `path_display`. Moreover, there are several deleted files/folders in the response that just have `name` but no `path_display` or `path_lower`. Note that if…
-
Whenever I think I have an idea about how I am going to get what I want, I bump into something that makes me wonder if I should really do this project. I list namespaces and the namespace.name for team member folder is 'Root'. I list folders recursively and there are thousands of deleted files/folders that don't have…
-
This means if I have 5 members on Business account and I create a Team folder, then all those 5 members get access to the Team folder. There is no concept of folder permissions on team folders? What I am failing to understand is all users I create in Dropbox Business are team members and they have access to all team…
-
I have reviewed Namespace Guide and Content Access Guide. The namespace guide explains the difference between a team space and non-team space accounts, but is listing namespace will include all namespaces (not recursive but top-level) on both types (Team space and non-team space) of accounts? I am still not clear on the…
-
Thanks for the response! Does the namespaces_list returns entries for all folders or just the top-level folders only. Listing namespace and checking the namespace_type is pretty straight forward, but as we traverse through the folders it becomes difficult to find out type of the sub-folders. I list folders recursively, in…
-
No, I haven't looked at list_revisions. But this leads me to another question and that is about deleted folders. I guess deleted items can be restored, but I want to check the size of all deleted items. So which endpoint do I need to query to get the size of deleted files/folders. I am surprised to see that Dropbox doesn't…
-
Thanks Greg!
-
Thanks Greg! I'm using a hacky approach to get the results. I wasn't confident using '_tag' attribute as it's private and implementation changes might break my code.
-
Thanks for your response, Walter. Please confirm if my understanding is correct: - I have a top level team folder called 'Main' - This 'Main' folder cannot be shared outside my team. I can can share it with my team by means of giving individual member or group access to it. This 'Main' folder will never be represented as a…
-
I appreciate your response, Greg. Please consider use cases where the value of the tag is necessary. For example, let's say I want to export all users/groups to a CSV file with column names that correspond to the tag names and rows that correspond to the value of the tag. Columns: id, firstname, lastname, email, status…
-
The video is helpful, but it doesn't explain the difference between team and shared folders. Can a team folder also be a shared folder and vice vers. Also, what is the concept of shared folders? If I share my personal folder with a member, then is that going to represent as shared folder on that other member's console.…