Hello,
Can you please help, How we can Get a temporary link to a team folder file? We have files under team folders and want to generate a link to get the files. Same as we do for user folders using /get_temporary_link
Hi @developerscorpio,
First, keep in mind that temporary link cannot point to a folder! If you need link to a folder (and indirectly to files within that folder) you have to use shared link created using /2/sharing/create_shared_link_with_settings. To the parameter "path" of endpoint /2/files/get_temporary_link you can pass a file path only. Both of these endpoints are user endpoints and by default their paths are relative to the user folder in account. For team accounts with spaces configuration that means only one subfolder (the member subfolder) in account root. To be able access something outside the member folder you need to set the actual account root using Dropbox-API-Path-Root header. Once passed this header, the paths passed to user endpoints (not limited to the previous) are relative to the corresponding namespace (usually account root). In such a way you would be able access everything accessible in particular account (including creating different types of links).
Hope this helps.
@developerscorpio Здравко is correct; for more information on accessing the contents of the team space, refer to the Team Files Guide.