Skip to main content
Version: Next

createMediaFolder

POST 

/media-folders

Creates a MediaFolder. The folder is born in ProcessingStatus.Draft: it is already configurable but not visible in the channels. It is created without groups; a folder without at least one group cannot be published (the check is performed by publishMediaFolder).

attributes.categoryId lets the server associate the folder to the category right after storing the draft, so that the tree and the associations are immediately consistent and the new folder is visible, badged as a draft, until it is published. This works because on creation the id of the draft is also the id of the published folder.

To access the service you need at least one of the following permissions:

Permission (one of)
createMediaFolder

Request​

Responses​