Web Assets

Create new folder

Create a new folder at the specified path with the provided configuration details

post/api/v1/assets/folders

Request

  • Base URL
    https://jostens.com
  • Auth
    none declared

Request body

assetPathstring required

Full path where the folder should be created or updated including site and folder structure. Must end with '/'

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

entityobject
i18nMessagesMapobject
permissionsstring[]

Changes

Changes to this operation have not been checked yet.