cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in learning how media industry leaders use Dropbox Replay? Register for our webinar 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: 

Doubts related to mounting files, sharing folder & creating subfolder under sharng section.

Doubts related to mounting files, sharing folder & creating subfolder under sharng section.

snigdhakadam
Explorer | Level 3
Go to solution

Hello All,

I want to share folder. I was able to share folder using https://www.dropbox.com/developers/documentation/http/documentation#sharing-add_folder_member api. I need to post shared_folder_id & email_id or account_id to this api then I could share this folder. But some folders from MyFiles section which does not shared ever doesn't have shared_folder_id. So I am not able to share these folders. So can't we share the folders which doesn't have shared_folder_id or  my understanding is wrong. Please suggest me if I wrong.

 

I can mount shared folders into my files, but I want to mount all shared files also. Can I add shared files into MyFiles Section.

 

I want to create folder inside Sharing section. Can I create folder?

I am not geting what is wrong. Please help me. Your suggestions will be valueable for me. Thanks in advance..!!

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
If you have an existing folder that you want to share, or want to create a new shared folder, you should first use the /2/sharing/share_folder endpoint:

https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder

That will make an existing folder into a shared folder, or create one, and then return the shared folder metadata, including shared folder ID. You can then use that shared folder ID with /2/sharing/add_folder_member.

View solution in original post

3 Replies 3

Greg-DB
Dropbox Staff
Go to solution
If you have an existing folder that you want to share, or want to create a new shared folder, you should first use the /2/sharing/share_folder endpoint:

https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder

That will make an existing folder into a shared folder, or create one, and then return the shared folder metadata, including shared folder ID. You can then use that shared folder ID with /2/sharing/add_folder_member.

snigdhakadam
Explorer | Level 3
Go to solution

Thank you so much for solution.!!

Now I want to mount shared files into MyFiles section. can I mount it?

And can I create folder inside sharing section?

 

Thanks,

Greg-DB
Dropbox Staff
Go to solution

No, shared files (i.e., files that have been shared with you, not just files in shared folders) don't offer the same "mounting" functionality that shared folders do. You can list the files shared with you using /2/sharing/list_received_files[/continue]:

 

https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files

https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files-cont...

 

You can create shared folders on demand, using either the web site or the API as discussed above.

Need more support?
Who's talking

Top contributors to this post

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