V2 > Folder

Creates a new folder in the channel's root folder.

post/1/vod/channel/{channel}/folder

Path parameters

channelinteger required

The Channel unique identifier

Request body

channel_idinteger required

<br/>This field must exist on the channels database in the id column.

parent_idinteger

<br/>This field must exist on the folders database in the id column.

descriptionstring
auto_validateboolean
auto_publishboolean
key_restrictedboolean
passwordstring
allowed_ipstring[]
disallowed_ipstring[]
allowed_countrystring[]
disallowed_countrystring[]
imagestring
image_mimetypestring

<br/>This field must be present and not empty only if any of the following fields are present:image

replace_on_uploadboolean
synchronize_media_encodingsboolean

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.