Web Assets
Create new folder
Create a new folder at the specified path with the provided configuration details
post/api/v1/assets/folders
Request body
Example request
{
"assetPath": "//demo.dotcms.com/my-new-folder/",
"data": {
"title": "My Documents Folder",
"sortOrder": 100,
"showOnMenu": true,
"fileMasks": [
"*.jpg",
"*.png",
"*.pdf"
],
"defaultAssetType": "FileAsset"
}
}Response
Folder created successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.