POST api/2.0/files/folder/{folderId}
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
|
`0
|
|
Title
sent in body
|
Folder title
|
System.String
|
|
POST api/2.0/files/folder/{folderid}
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Title": "some text"
}
application/json
{
"status": 0,
"response": {
"ParentId": 1234,
"FilesCount": 1234,
"FoldersCount": 1234,
"New": 1234,
"Mute": true,
"Pinned": true,
"Private": true
}
}
text/xml
<result>
<status>0</status>
<response>
<ParentId>1234</ParentId>
<FilesCount>1234</FilesCount>
<FoldersCount>1234</FoldersCount>
<New>1234</New>
<Mute>True</Mute>
<Pinned>True</Pinned>
<Private>True</Private>
</response>
</result>