Folder Structure Creation
I am working on an application that will create folder structures within Box using .NET and the Box SDK and REST API.
Is there any way to upload a folder structure in one request or is it limited to a folder at time and getting the newly created folder's ID to use as the parent ID for the next folder down in the hierarchy.
If there is no way to create the folder structure in one request are there any plans to add something like this?
Thanks
Richard
-
Currently it is not possible to create a folder structure with one API call. As you described, you would have to create the folder structure with individual calls to the Create Folder endpoint. If the folder structure already exists in Box, you can use the Copy Folder endpoint.
A folder structure endpoint is currently not on our API roadmap, but you can request it using our feature request form.
-
We can build folder tree in box through api,
https://developer.box.com/en/guides/folders/bulk/build-folder-tree/
Can you provide sample json representation to create it?
Please sign in to leave a comment.
Comments
2 comments