Collaborations for user
Hi,
I'm wondering if there is a way to get from the the API a list of collaborators with a user?
Basically I want to get the list that is available through the web app here: https://myshare.app.box.com/contacts
Thanks in advance
Tom
-
Hi ,
Welcome to the community and thanks for your first post in the forum!
Thanks for the detailed question! Did you check out this documentation for the necessary call?https://docs.box.com/reference#view-a-folders-collaborations
Could you provide more info for the community to help out?
Be sure to look at the Community Guidelines, and check out our Product News,Training Guides, and Help Articles. For tips on how to getting around, see this video. -
related question:Currently, that API call only returns the collaborators that have been added to the folderid requested, however, there can be many, many more collaborators added to sub-folders/files of that folderid. Can you add a 'recursive' option to that API call? I have had to write a recursive routine that pulls all the sub-folderids in order to build up what is essentially a single CSV of folderids and the collaborations that are associated with each. This (a) takes quite some time depending on the number of levels, and (b) significantly increases the number of API calls I need to submit. I would imagine that you have this information in a database which could be quickly and easily available with a single API call?
Please sign in to leave a comment.
Comments
2 comments