Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm using dropbox business account and API v2.0. I have some files that are shared by links for viewing and some for editing. I want to know what files are shared for editing, but list_shared_link only returns links for viewing, not for editing. I look at the file in the UI, and see that "Anyone with this link can edit". But I can't get this information using the API.
How do I get links for editing using the API?
[Cross-linking for reference: https://stackoverflow.com/questions/66801474/how-to-get-shared-links-for-editing ]
I sounds like you're referring to the kind of link with "/scl/fi", which can enable editing access, and you're calling list_shared_links to list the shared links, but aren't seeing the "/scl/fi" links returned.
These "/scl" links aren't standard shared links, so they don't get listed by default, and don't behave exactly the same way as standard shared links. Calling list_shared_links without specifying a "path" value won't return this kind of "/scl" link; I'll send this along to the team to ask them to change it to do so, but I can't promise if/when that might be done.
Instead, to retrieve these kinds of links, you would need to specify the "path" parameter for the particular item you wish to look up. If you do so, it will return those "/scl" links. You would need to call for each path for which you want to retrieve "/scl" links though.
[Cross-linking for reference: https://stackoverflow.com/questions/66801474/how-to-get-shared-links-for-editing ]
I sounds like you're referring to the kind of link with "/scl/fi", which can enable editing access, and you're calling list_shared_links to list the shared links, but aren't seeing the "/scl/fi" links returned.
These "/scl" links aren't standard shared links, so they don't get listed by default, and don't behave exactly the same way as standard shared links. Calling list_shared_links without specifying a "path" value won't return this kind of "/scl" link; I'll send this along to the team to ask them to change it to do so, but I can't promise if/when that might be done.
Instead, to retrieve these kinds of links, you would need to specify the "path" parameter for the particular item you wish to look up. If you do so, it will return those "/scl" links. You would need to call for each path for which you want to retrieve "/scl" links though.
Not very convenient, but it works. Thanks a lot!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!