Hi - I am trying to get owner information of a file that is not shared. I tried the below -
FileMetadata fileMetadata = (FileMetadata) dbxTeamClient.asAdmin(adminId).files().getMetadata(fileId);
But FileMetadata doesn't seem to have this information. For shared files/folders, I am able to get same using sharing/list_file_members API. But the same API fails when a non-shared fileId is passed to it.
This is for Team Space configuration and I am accessing the file with Admin credentials
Thanks