Need help with Box APIs
Hi Box Support Team,
We are in a need to display Box Enterprise accounts users and its folder in the UI. We are facing a few limitations of the API which are listed below. Can you please provide assist us with the same :
1. Box Enterprise account has more than 10,000 users in the system, how we will fetch from Box API
https://api.box.com/2.0/users
Our Need :
- We need to list all the users of the Box Enterprise accounts
Issue :
- We need to list all the users but in API we found that the max offset allowed is 10,000 only.
- Another alternative is a marker, will that work when data is large (> 10,000)?
2. We need an API that provides us with the root level files/folders of each user of the enterprise account, like below:
We found below API :
https://api.box.com/2.0/search
Our Need :
- Root level all folders and files of specific user
- Files / Folder created by the user not shared with that user
Issue
- We can pass ancestor_folder_ids as "0" and owner_user_ids as "123456" where 123456 is the user id of any user in the authenticated enterprise account.
- Api mentioned above returns all folders and subfolders
- Is there any other parameter that we need to pass in this API to get only root level items? Or is there any other API for this?
## We also found below API:
https://api.box.com/2.0/folders/:folder_id/items
Our Need :
- Root level all folders and files of specific user
- Files / Folder created by the user and not shared with that user
Issue :
- This API provides root level files/folders for the authenticated user only, We need all the users existing in the system.
3. We need to download more than 10,000 files from any folder.
Our Need :
- We need to download more than 10,000 files from any folder.
Issue:
- We found in one of the community blog posts that a folder can have a max of 15000 files and also in the API documentation, the max offset allowed is 10000.
Post is closed for comments.
Comments
0 comments