cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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: 

sharedFolderId

Highlighted

sharedFolderId

Explorer | Level 4

 

DbxUserSharingRequests.getSharedLinkMetadata("https://www.dropbox.com/sh/b6v0dz1kkkap3s7/AAAAizqELKLxCZx7cXtBvw3La?dl=0")
return
{
".tag" : "folder",
"url" : "https://www.dropbox.com/sh/b6v0dz1kkkap3s7/AAAAizqELKLxCZx7cXtBvw3La?dl=0",
"name" : "Slide Shows",
"link_permissions" : {
"can_revoke" : true,
"resolved_visibility" : "public",
"requested_visibility" : "public"
},
"id" : "id:gMlrgFnNKzAAAAAAAAAAFQ",
"path_lower" : "/slide shows"
}

I didn't get the content related to sharedFolderId. how can I get the correct sharedFolderId according to the shared folder link and then traverse the folder to download the files it contains

1 Accepted Solution

Accepted Solutions
Highlighted

Re: sharedFolderId

Dropboxer

You don't need the shared folder ID from a shared link in order to list and download the contents of the shared link.

 

You can use listFolderBuilder/listFolderContinue to list the contents of a folder based on a shared link to that folder. Use ListFolderBuilder.withSharedLink to set the shared link.

 

Then, based on the file names returned there, you can use getSharedLinkFileBuilder to download the desired file(s). Use GetSharedLinkFileBuilder.withPath to set the relative path for the particular file you want to download.

View solution in original post

1 Reply 1
Highlighted

Re: sharedFolderId

Dropboxer

You don't need the shared folder ID from a shared link in order to list and download the contents of the shared link.

 

You can use listFolderBuilder/listFolderContinue to list the contents of a folder based on a shared link to that folder. Use ListFolderBuilder.withSharedLink to set the shared link.

 

Then, based on the file names returned there, you can use getSharedLinkFileBuilder to download the desired file(s). Use GetSharedLinkFileBuilder.withPath to set the relative path for the particular file you want to download.

View solution in original post

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?