Creates a new folder with the title specified in the request. The parent folder ID can be also specified.
Name | Description | Type | Example |
folderId
sent in url
|
Parent folder ID | number | 1234 |
Title
sent in body
|
Folder title | string | some text |
POST api/2.0/files/folder/1234 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Title": "some text" }
New folder parameters
{ "status": 0, "response": { "ParentId": 1234, "FilesCount": 1234, "FoldersCount": 1234, "IsShareable": true, "IsFavorite": true, "New": 1234, "Mute": true, "Pinned": true, "RoomType": "5", "Private": true, "QuotaLimit": 1234, "IsCustomQuota": true, "UsedSpace": 1234 } }