The Document API uses a namespace as a container to store collections, which in turn store documents. Documents can themselves hold multiple documents.Multiple collections are contained in a namespace, but a collection cannot be contained in multiple namespaces.
To check if a namespaces exist, execute a Document API query with cURL to find all the namespaces:
To get a particular namespace, specify the namespace in the URL: