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
sagar_lonkar
11 months agoExplorer | Level 4
API /sharing/list_file_members and sharing/list_file_members/batch returning different result
API /sharing/list_file_members and sharing /list_file_members/batch returning different result for same file ID
/list_file_members/batch , return blank entries while
/list_file_members/batch , return 1 owner entry for a file
Please check below , for same file id , API returning different result.
https://api.dropboxapi.com/2/sharing/list_file_members
Parameters :
{
"file" : "id:s0-lLditOpQAAAAAAAAA2g",
"limit" : 1
}
Response:
{
"users": [
{
"access_type": {
".tag": "owner"
},
"is_inherited": true,
"user": {
"account_id": "dbid:AABemtJjAcrPhKLtzJk-JDwPC67EiaY9Icg",
"email": "shyam_shrivastava@persistent.com",
"display_name": "Shyam Shrivastava",
"same_team": true,
"team_member_id": "dbmid:AABedc4CzUXZubrvc-aI29rdoJG0xIOivdc"
}
}
],
"groups": [],
"invitees": []
}
https://api.dropboxapi.com/2/sharing/list_file_members/batch
Parameters :
{
"files" : ["id:s0-lLditOpQAAAAAAAAA2g"],
"limit" : 2
}
Response :
[
{
"file": "id:s0-lLditOpQAAAAAAAAA2g",
"result": {
".tag": "result",
"members": {
"users": [],
"groups": [],
"invitees": []
},
"member_count": 0
}
}
]
- Greg-DBDropbox Staff
In the /2/sharing/list_file_members output you shared, I see the result has "is_inherited": true.
Per the /2/sharing/list_file_members/batch documentation, "Inherited users and groups are not included in the result", so this is the expected behavior.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,888 PostsLatest Activity: 2 days agoIf 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!