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
noacaspi
3 years agoNew member | Level 2
sharing/list_file_members/batch won't return cursor
Hi,
While using the API when member count exceed the limit of members per file no cursor is returned (as apposed to the documentation).
Yet, while using the same limit using sharing/list_file_members the cursor is returned.
Therefore, for getting the extra members from a file in sharing/list_file_members/batch, I must first request the members again for that specific file.
Is there a better solution to my problem?
- ЗдравкоLegendary | Level 20
Hi noacaspi,
Take in mind that inherited users and groups are not included in the result, and permissions are not returned while using batch! On using non batch variant inherited users are included by default. 🤔 Can this be the reason for different results, you are getting? Check to be sure. 😉
Hope this helps.
- Greg-DBDropbox Staff
noacaspi That's correct, the /2/sharing/list_file_members/batch and /2/sharing/list_file_members[/continue] endpoints operate differently. The /2/sharing/list_file_members/batch endpoint does not return a cursor, for instance. Refer to the descriptions for those routes and the documented fields for more information on that. There aren't any other options beyond what is documented there.
- ЗдравкоLegendary | Level 20
Greg-DB wrote:... The /2/sharing/list_file_members/batch endpoint does not return a cursor, for instance. ...
Does this mean that the documentation is "broken"? 🙂
- Greg-DBDropbox Staff
Здравко Apologies, I was referring to the lack of a top-level cursor from /2/sharing/list_file_members/batch, as compared to the SharedFileMembers.cursor returned by /2/sharing/list_file_members. As you pointed out though, there is the nested ListFileMembersIndividualResult.ListFileMembersCountResult.cursor though, for use with /2/sharing/list_file_members/continue for the corresponding file.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,895 PostsLatest Activity: 3 hours 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!