The playlist item object defines an individual item on a playlist for a channel. Playlist items cannot be edited directly, but are embedded into the playlist itself. Playlist items are an individual item of content that is scheduled to play in a specific order within the playlist.
The playlist item
String
Sample value:mp4:sestore3/username/directory/filename.mp4
How many seconds into this item to start playing
Integer
Default:0
Sample value:0
How many seconds to play this item for (-1 = full length)
Integer
Default:-1
Sample value:120
Get the Playlist_items object with id N/A.
https://api.scaleengine.net/v2/playlist_items/N/A
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/playlist_items/N/A
None
{ "id": "N/A", "playlist": "N/A", "video": "mp4:sestore3/username/directory/filename.mp4", "start": "0", "length": "120", "sort_order": "7", "is_ad": "false" }
Create a new Playlist_items object.
https://api.scaleengine.net/v2/playlist_items
curl -X PUT --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/playlist_items
{ "video": "mp4:sestore3/username/directory/filename.mp4", "start": "0", "length": "120", "sort_order": "7", "is_ad": "false" }
{ "id": "N/A", "playlist": "N/A", "video": "mp4:sestore3/username/directory/filename.mp4", "start": "0", "length": "120", "sort_order": "7", "is_ad": "false" }
Update the Playlist_items object with id N/A.
https://api.scaleengine.net/v2/playlist_items/N/A
curl -X POST --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/playlist_items/N/A
{ "video": "mp4:sestore3/username/directory/filename.mp4", "start": "0", "length": "120", "sort_order": "7", "is_ad": "false" }
{ "id": "N/A", "playlist": "N/A", "video": "mp4:sestore3/username/directory/filename.mp4", "start": "0", "length": "120", "sort_order": "7", "is_ad": "false" }
Delete the Playlist_items object with id N/A.
https://api.scaleengine.net/v2/playlist_items/N/A
curl -X DELETE --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/playlist_items/N/A
None