Getting all the Collaborators for a Folder (Pending Included) [Box API]
Hey!
I'm trying to find out when a folder is shared to an external user.
1. I'm getting the COLLABORATION_INVITE event but do not get an event when the user Confirms his invite and get actual access to the folder. Is there a way to get an event when a user accepts his invite?
2. I got a folder id and am trying to get all the collaborators for that folder, pending included, what endpoint should i use and what parameters should I send to it? Was not able to find the full documentation for https://api.box.com/2.0/folders/folder_id/collaborations.
Thanks, Amiram.
-
Hey
For your first question, you will need to wait for the COLLABORATION_ACCEPT event.
As for the second, you'll need two requests to get both pending and accepted collaborations. For the pending collaborations, you can refer to this reference documentation. Additional documentation for the accepted collaborations is available here.
サインインしてコメントを残してください。
コメント
1件のコメント