Get Folder Information
Could I get folder information by user id using API?
For example: Enter user id and folder id and the json result is (role : viewer ) etc.
-
to get the collaborations on a file or folder, you can call the following endpoints
https://developer.box.com/reference/get-files-id-collaborations/
https://developer.box.com/reference/get-folderss-id-collaborations/
These will return a list of collaborations for those items, which you can then filter down to the user ID you are interested in.
Alternatively, if you make an API call to the following endpoints, you can request the permissions object for the currently authenticated user.
https://developer.box.com/reference/get-files-id/
https://developer.box.com/reference/get-folders-id/
What this will let you do is see the permissions that this user has on this file.
https://developer.box.com/reference/resources/file/#param-permissions
https://developer.box.com/reference/resources/folders/#param-permissions
サインインしてコメントを残してください。
コメント
1件のコメント