Hi,
I am using the Dropbox Business API and connecting to an account as an admin in the following way.
(Python SDK)
dbx_team = DropboxTeam(token) # For Business(Team) Accounts
admin_profile = dbx_team.team_token_get_authenticated_admin().admin_profile
dbx = dbx_team.as_admin(admin_profile.team_member_id)
Then, I list the folders as follows.
has_more = True
while has_more:
try:
if cursor is None:
result = dbx.files_list_folder(path=root_name_space,
recursive=True,
include_mounted_folders=True)
else:
result = dbx.files_list_folder_continue(cursor)
except ApiError, e:
print e
return {'error': 'DROPBOX_LIST_FOLDER_ERROR', 'description': unicode(e)}
The problem is for all Metadata types i.e. FolderMetadata, FileMetadata and DeletedMetaData, the attributes `path_lower` and `path_display` are always None.
Is there a way, that I can get the path information?
Thank you