Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get children folders when there are more than 10,000 #942

Closed
mikeren2014 opened this issue Feb 23, 2024 · 2 comments
Closed

How to get children folders when there are more than 10,000 #942

mikeren2014 opened this issue Feb 23, 2024 · 2 comments
Assignees
Labels

Comments

@mikeren2014
Copy link

I believe BoxClient.FoldersManager.GetFolderItemsAsync() is equilavent with API https://api.box.com/2.0/folders/230155851619/items, but why doesn't have usemarker and marker parameters?

Since it has limitation of 1000, and offset is limited to less than 10000, how do we get all children folders if there are more than that?

@lukaszsocha2
Copy link
Contributor

Hi @mikeren2014,
we have recently added a new method: Task<BoxCollectionMarkerBased<BoxItem>> GetFolderItemsMarkerBasedAsync() to BoxFoldersManager (see the pr: #936), but it not yet released. A new SDK package with the new method should be published early next week. This method will allow to get more than 11000 items from folder. I'm closing this issue as it already has been addressed.
Best,
@lukaszsocha2

@arjankowski
Copy link
Contributor

Hi @mikeren2014,
I've released the new v5.7.0 with the mentioned fix.
Please take a look into this doc to see how to use this new added method!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants