cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to list links for editing

How to list links for editing

vlad_m
Explorer | Level 4
Go to solution

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?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

[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.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

[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.

vlad_m
Explorer | Level 4
Go to solution

Not very convenient, but it works. Thanks a lot!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    vlad_m Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?