I have an application which uses the API files/list_folder/longpoll to fetch any changes to the account and then I use files/list_folder/continue with the cursor (
DbxClientV2.files().listFolderContinue(cursor); is the method in the Java SDK
)
to get the files which were changed. This works perfectly for the files owned the user.
In case of a file being shared to an account this API returns changes:true but listFolderContinue returns an empty array.
I even tried using the APIs in sharing (sharing/list_folder etc) with the cursor I have but it throws an exception for "Inavlid Cursor"
According to the documentation for detecting changes,
methodologies described above will allow you detect changes to files themselves, but will not indicate changes to sharing settings or other metadata.
So is there a way to get the cursor for "shared files" ?
I also looked into the Business APIs but found that the Java SDK doesnt have APIs for that, is there another sdk that I should use ?
According to this article by Dropbox https://dropbox.tech/developers/manage-team-sharing-in-your-dropbox-app
It says to
1. Create a new app from your App console
2. Select ‘Dropbox Business API’
3. Select ‘Team member management’
4. Name your app and click ‘Create app’
But there's no option to select 'Dropbox Business API' (please refer screenshot)
