Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
dochdl
8 years agoHelpful | Level 6
Getting files from a non root namespace
Hi I want to be able to track all changes in all folders including in namespaces that are not a root user's root folder I use a team token. When I use /list_folder with the Dropbox-API-Select-...
- 8 years ago
So seems as if using Dropbox-Api-Select-Admin header solves the problem
However, it does not appear in your documentation
so the answer is using this request:
POST /2/files/list_folder
Host: https://api.dropboxapi.com
Authorization: Bearer <token>
Content-Type: application/json
Dropbox-Api-Select-Admin: dbmid:AAA...Rw
{
"path": "ns:2464786048",
"recursive": true
}
dochdl
8 years agoHelpful | Level 6
So seems as if using Dropbox-Api-Select-Admin header solves the problem
However, it does not appear in your documentation
so the answer is using this request:
POST /2/files/list_folder
Host: https://api.dropboxapi.com
Authorization: Bearer <token>
Content-Type: application/json
Dropbox-Api-Select-Admin: dbmid:AAA...Rw
{
"path": "ns:2464786048",
"recursive": true
}
chirstius
Dropbox Staff
8 years agodochdl for future reference, the Select-Admin header is covered in our Business Endpoints documentation under "Member file access":
https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access
About 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!