You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

debjit's avatar
debjit
Explorer | Level 3
7 years ago

What is shared_folder_id and parent_ shared_folder_id ?

I am confused with the following:

 

  • shared_folder_id
  • parent_shared_folder_id

 

user A shares folder F with user B who mounts the folder as G. What would be shared_folder_id and parent_shared_folder_id for G ?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    For files, the `parent_shared_folder_id` is the "ID of shared folder that holds this file." For folders, the `parent_shared_folder_id` is the "ID of the parent shared folder. This field is present only if the folder is contained within another shared folder." That is, `parent_shared_folder_id` is only set for items inside shared folders and it tells you the ID of that shared folder above it.

    The `shared_folder_id` is the "ID of the shared folder" itself. That is, `shared_folder_id` is only available for shared folders themselves.

    In your example, the shared folder, mounted as F for user A and mounted as G for user B, would report the same `shared_folder_id` for both users. It would report `parent_shared_folder_id` if it is nested under another shared folder (e.g., a team folder).

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 4 days ago
333 Following

If you need more help you can view your support options (expected response time for an email or 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!