My app is integrated with dropbox. However, I see some changes coming for business team dropbox:
https://help.dropbox.com/plans/upcoming-business-team-changes?_camp=16203&_tk=banner_campaign_format#moreorg
Within it, it says:
- Switch integration file paths from absolute to relative, if available.
- Browser URLs and absolute links will break once file paths change. Switching to relative means you won’t need to re-configure the paths after updating, but you can always manually configure the file paths after the update.
Currently I'm using filesGetMetadata endpoint to get the path_display of a folder. I then pass in that path_display to filesListFolder endpoint. However, I'm under the assumption that this path_display is absolute. How can i get the relative path of a folder? Currently I'm unable to get a response from filesListFolder endpoint for business team dropbox after they went through the changes but it works with regular dropbox accounts. (however, i haven't added the “Dropbox-API-Path-Root” header)
Would I simply have to add the “Dropbox-API-Path-Root” header? Or would I need to call a new endpoint to get a relative path? Company doesn't have a dropbox teams account for me to test against so trying to understand what changes I need a little better before I push up these changes and test against client's instance.
Also if I add “Dropbox-API-Path-Root” header to make the filesListFolder API call for a normal dropbox account (not teams), will that start breaking things?