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

Forum Discussion

mikechiu's avatar
mikechiu
Explorer | Level 4
9 months ago

List shared folders without folder id

When listing sharing folders via API https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folders

There is no `folder_id` in the returning metadata of all entries.

 

I was wondering in what circumstances the `folder_id` will be in the response ?

 

Asking because `folder_id` can help to identify the folder under members' folder since all shared folder has different `file_id` in each members' folder.

Thanks.

 

  • I don't have a guarantee to offer on if/when the 'folder_id' field would be set, but if you're trying to identify shared folders across users, you can use the 'shared_folder_id' field instead. The 'shared_folder_id' field is a non-optional field on SharedFolderMetadata, and the value will be consistent across members of the same shared folder.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    I don't have a guarantee to offer on if/when the 'folder_id' field would be set, but if you're trying to identify shared folders across users, you can use the 'shared_folder_id' field instead. The 'shared_folder_id' field is a non-optional field on SharedFolderMetadata, and the value will be consistent across members of the same shared folder.