Change playlists
AccountPlaylistsWriteToolChange device playlists: add, reorder, copy, update, duplicate or delete items, replace an item's schedule, and create or change mashups. deletePlaylistItem is destructive.
addDevicePlaylistItem: Add a plugin instance to a device playlist — params: device_id (path), plugin_setting_id (body: Plugin setting id)
reorderDevicePlaylist: Reorder a device playlist — params: device_id (path), playlist_item_ids (body)
bulkUpdateDevicePlaylist: Show or hide several playlist items on a device at once — params: device_id (path), action_type (body: one of hide, show), playlist_item_ids (body)
copyDevicePlaylist: Copy a playlist to another device — params: device_id (path), target_device_id (body: Destination device id)
updatePlaylistItem: Update a playlist item — params: id (path), visible (body), palette_id (body), font_family (body), text_scale (body: one of small, regular, large, xlarge, ), theme (body)
deletePlaylistItem: Remove a playlist item — params: id (path)
replacePlaylistItemSchedule: Replace when a playlist item is allowed to display — params: item_id (path), week_schedules (body: each {week_days: 0 is Sunday through 6 is Saturday, start_time: HH:MM, 00:00 to 23:59, end_time: HH:MM, 00:00 to 23:59}), date_range (body: Only display between these dates. Null when no dates are set)
duplicatePlaylistItem: Duplicate a playlist item — params: id (path)
createDeviceMashup: Add a mashup to a device playlist — params: device_id (path), layout (body: one of 1x1, 1Tx1B, 1Lx1R, 1Tx2B, 2Tx1B, 1Lx2R, 2Lx1R, 2x2, 3x3), grid_config (body: each {pos, col, row, cs, rs}), contents (body: Plugin setting id by position; a position left out renders empty)
updateMashup: Change the sections of a mashup — params: id (path), contents (body: Plugin setting id by position), health_notification_enabled (body)
resetMashupHealth: Reset a mashup past its health breaker — params: id (path)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The API operation to run | |
| params | No | The operation's path, query and body parameters by name |