POST restapi/personal/yourfiles/public/folders/{folderId}/v1
Add new folder in public files area
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
folderId |
The parent folder identifier |
integer |
Required |
Body Parameters
The name of the folder
stringRequest Formats
application/json, text/json
Sample:
"sample string"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>
application/x-www-form-urlencoded
Sample:
No sample available
Response Information
Resource Description
The newly created folder
Itslearning.RestApi.Entities.YourFiles.FileModelName | Description | Type | Additional information |
---|---|---|---|
Name |
The name of the file/folder |
string |
None. |
LastModified |
The date and time the file was last modified |
date |
None. |
LastModifiedString |
The date and time the file was last modified as string |
string |
None. |
FileType |
The type of file |
string |
None. |
FileSize |
The file size in Kb |
integer, 64 bit |
None. |
FileId |
The file identifier |
integer |
None. |
FileRepoId |
The file repository identifier |
globally unique identifier |
None. |
IsFolder |
If the item is folder |
boolean |
None. |
VirtualPath |
Virtual Path |
string |
None. |
Icon |
Icon for the item |
string |
None. |
FolderId |
The folder identifier |
integer |
None. |
ParentFolderId |
The parent folder identifier. If this is a root folder or IsFolder = false, then this value is null. |
integer |
None. |
NameWithoutExtension |
The name without file extension |
string |
None. |
Extension |
The file extension |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "LastModified": "2025-06-25T14:40:37Z", "LastModifiedString": "sample string 3", "FileType": "sample string 4", "FileSize": 5, "FileId": 6, "FileRepoId": "11b5ab49-8337-4047-a6db-991191e599f0", "IsFolder": true, "VirtualPath": "sample string 9", "Icon": "sample string 10", "FolderId": 11, "ParentFolderId": 1, "NameWithoutExtension": "sample string 12", "Extension": "sample string 13" }
application/xml, text/xml
Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Extension>sample string 13</Extension> <FileId>6</FileId> <FileRepoId>11b5ab49-8337-4047-a6db-991191e599f0</FileRepoId> <FileSize>5</FileSize> <FileType>sample string 4</FileType> <FolderId>11</FolderId> <Icon>sample string 10</Icon> <IsFolder>true</IsFolder> <LastModified>2025-06-25T14:40:37Z</LastModified> <LastModifiedString>sample string 3</LastModifiedString> <Name>sample string 1</Name> <NameWithoutExtension>sample string 12</NameWithoutExtension> <ParentFolderId>1</ParentFolderId> <VirtualPath>sample string 9</VirtualPath> </FileModel>