Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

michal_k's avatar
michal_k
Explorer | Level 4
10 years ago
Solved

What exactly is namespace

Hello,

 

I read this documentation and I did not understand, what exactly is meant by "namespace" which is being locked. The documentation sais this:

 

"You can think of a namespace as a collection of files and folders in the internal representation of the Dropbox file system. Each user’s private Dropbox folder maps to a root namespace."

 

Does it mean that every private (aka not shared) folder has it own namespace and this namespaces are in hierarchy?

 

Example:

In Dropbox root I have following structure of private folders:

 

root
|-- Folder_1
| |-- Folder_1a
| +-- Folder_1b
| |-- Folder_1b1
| +-- Folder_1b2
+-- Folder_2
|-- Folder_2a
|-- Folder_2b
+-- Folder_2c

I want to upload file to Folder_1b. What is the exact namespace, that will be locked? Which folders belong to the locked namespace and to which folder can I upload files via API in parralel so the namespace lock contention will not occur?

  • 'Does it mean that every private (aka not shared) folder has it own namespace and this namespaces are in hierarchy?"

     

    No, a folder doesn't represent a new namespace unless it's a shared folder or team folder.

     

    In your example, assuming none of those folders are shared, everything is part of the same namespace.

3 Replies

Replies have been turned off for this discussion
  • 'Does it mean that every private (aka not shared) folder has it own namespace and this namespaces are in hierarchy?"

     

    No, a folder doesn't represent a new namespace unless it's a shared folder or team folder.

     

    In your example, assuming none of those folders are shared, everything is part of the same namespace.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago
    If Folder_1 is a shared folder, then Folder_1 is a namespace, separate from the root namespace.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!