We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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>\"}"