How can I get list of all folders and their subfolders from box?
I want to get list of all folders and subfolders from box. I am hitting https://api.box.com/2.0/folders/0, but I am only getting all folders not their sub folders.
Can anyone please help.
-
Hi Nidhi
There is no single endpoint that allows you to get all folders and subfolders from Box. You would need to recursively iterate over each sub folder to accumulate this information.
Depending on your exact use case there are APIs that can provide search (if you are looking for a specific object), metadata query (if you use metadata to classify your data), webhooks (if you want a push mechanism when something changes) or events (for a pull mechanism for changes)
Rgds
Peter Christensen, Platform Solutions Engineer, Box
-
Peter Christensen, Thanks for replying. Just wanted to know is there any way by which I can upload larger length files to BOX from Salesforce(HTTP).
Post is closed for comments.
Comments
2 comments