cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batching API not returning permissions for groups

Batching API not returning permissions for groups

akanshikumari
Explorer | Level 3

I am trying to fetch the permissions of multiple files using batching, I have shared a file `abc.txt` to a group which was created automatically and includes invited members. But while running the API, response is not returning that group.
API endpoint: https://api.dropboxapi.com/2/sharing/list_file_members/batch
Response: 

 

{
        "file": "id:88aWjhZozYsAAAAAAAAAyA",
        "result": {
            ".tag": "result",
            "members": {
                "users": [],
                "groups": [],
                "invitees": []
            },
            "member_count": 0
        }
    },<p> </p>

 

 

3 Replies 3

Greg-DB
Dropbox Staff

This is the expected behavior for /2/sharing/list_file_members/batch; groups are not returned by this endpoint. Refer to the /2/sharing/list_file_members/batch documentation for a note about this. To get group information, you'd need to use /2/sharing/list_file_members instead.

akanshikumari
Explorer | Level 3

I am getting the group if it's group management type is `user_managed` or `company_managed`  but if type is `system_managed`, then  it's not getting returned in /2/sharing/list_file_members/batch .
What's the case of getting the group and what's the case for not getting it in  batching API?

Greg-DB
Dropbox Staff

I can't offer more information or a guarantee beyond what's included in the documentation for the endpoint. Please refer to that for information on what information/behavior to rely on for the endpoint.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    akanshikumari Explorer | Level 3
What do Dropbox user levels mean?