V2 > Playlist

Updates a playlist.

put/1/vod/channel/{channel}/playlist/{playlist}

Path parameters

channelinteger required

The Channel unique identifier

playlistinteger required

The Playlist unique identifier

Request body

channel_idinteger required

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

namestring required

<br/>This field must not exist on the playlists database in the name column.

descriptionstring
typestring required
sortstring required
validatedboolean
publishedboolean
imagestring
image_mimetypestring

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

prependboolean
auto_add_media_by_namestring[]
auto_add_media_by_descriptionstring[]
medias_infoboolean
medias_thumbnailboolean
show_controlsboolean
live_reference_timestring

<br/>This field must be present and not empty if the mode field is equal to any of the following:4<br/>This field must match the "H:i:s" format.

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.