Thanks Greg. In v1 of the API we could get a temporary shared link (lasting four hours) and use that with a slight tweak to show the file in the browser. Is there no equivalent feature, have we lost that capability, in v2?
In v2, the /create_shared_link_with_settings would be the correct end-point to get the URL for in-browser viewing, however it does not allow me to get an expiring link since our users usually have basic accounts. So must I create a permanent shared link for every file the user views?
It sounds like you're referring to API v1's /media endpoint. The API v2 equivalent is /files/get_temporary_link, but unfortunately it's not designed for displaying directly in the browser. Sorry I don't have a better answer for you!