cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We love to hear how every person gets the most from Dropbox, and it seems everyone has a slightly different use for it - tell us yours 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: 

Not able to List shared links having edit access without file id

Not able to List shared links having edit access without file id

vivek-qualys-ssc
Explorer | Level 4

Hi, I am using below API to list down all files having shared links. I am making API call for each dropbox team member passing team member id in header (Dropbox-API-Select-User).

 

https://api.dropboxapi.com/2/sharing/list_shared_links

 

 

I am able to list all files which having read access level. But when I create a file from dropbox itself it automatically creates sharing anyonewith link with edit permission and this link is missing from API response. Even I deleted this link and created again still not bale to list this link with above API.

 

NOTE: When I pass file Id in API request body then able to get the edit link. But my motive is to list down all the links(read and edit) at once for that team member without passing the file Id.

 

Please help if someone has any idea around this.

3 Replies 3

Re: Not able to List shared links having edit access without file id

Greg-DB
Dropboxer

It sounds like you're referring to the kind of link with "/scl/fi", which can enable editing access, and you're calling /2/sharing/list_shared_links without specifying a "path" value to list all 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 in that case, and don't behave exactly the same way as standard shared links. Calling /2/sharing/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 do need to specify the "path" parameter (which can contain either the path or file ID), like you mentioned, 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.

Re: Not able to List shared links having edit access without file id

vivek-qualys-ssc
Explorer | Level 4

Thanks @Greg-DB for replying and making it clear, Do we need to open an enhancement ticket for listing /scl links with API /2/sharing/list_shared_links without specifying a "path" value? As we want to list them for each user and not for each file.

Re: Not able to List shared links having edit access without file id

Greg-DB
Dropboxer

No, there's no need to open anything else. This forum thread serves as the reference to your request. Thanks!

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    vivek-qualys-ssc Explorer | Level 4
What do Dropbox user levels mean?
Need more support?