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

Info V.1's avatar
Info V.1
Collaborator | Level 8
6 years ago

How to full absolute path of a team folder using the namespace id?

We use full path to track dropbox files in our system. When a file is added in a team folder then we get an event that has "contextual" path. But when an external user drop a file then it does not ha...
  • Greg-DB's avatar
    Greg-DB
    6 years ago

    For items in the team space you can still use /2/files/get_metadata to get the metadata, such as the `path_lower`. For instance, that may look like:

     

    curl -X POST https://api.dropboxapi.com/2/files/get_metadata \
        --header "Authorization: Bearer <ACCESS_TOKEN>" \
        --header "Dropbox-API-Select-Admin: <ADMIN_ID>" \
        --header "Content-Type: application/json" \
        --header 'Dropbox-API-Path-Root: {".tag": "root", "root": "<TEAM_SPACE_ID>"}' \
        --data "{\"path\": \"ns:<SHARED_FOLDER_ID>\"}"
    

     

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 5 hours ago
325 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!