Create folder
A folder is a container for files and sub folders.
Limitations
Section titled “Limitations”The name of folder has the following restrictions
- Name cannot begin with
/ - Length should be less than 255 characters
- Name should not be reserved keywords like
com,lpt,con,nul,prn,aux,?,<,>,*,|
Name of the folder under the parent should be unique. Folder with same name cannot be created under the parent.
To create a folder, the identifier of the folder’s parent folder must be provided.
Prerequisites
Section titled “Prerequisites”- A space should be created. To know more about creating a space refer here
Request
Section titled “Request”POST {baseUrl}/spaces/{spaceId}/folders-
HEADER:
- Authorization:
Bearer {tid token}
- Authorization:
-
BODY:
name- Name of the folderparentId- Parent id where folder needs to be created
Response
Section titled “Response”To know more about the Create folder API refer here.