Update a playlist
/editor/playlists/{pid}/write Change: creates or edits. Scopes
Changes its name, the expiry date and message players are told, or any of its settings: only the fields sent change. Answers the playlist as GET does.
Path parameters
pidstring (uuid)requiredThe playlist's id.
Body
namestringexpirystring (date-time)can be nullmessagestringmax_connectionsintegertrack_connectionsbooleanlimit_connectionsbooleantime_shiftstring (decimal)languagestringprovider_vod_infobooleanauto_vod_infobooleanvod_info_optionsanyepg_gzipbooleanuse_tvg_idbooleanepg_dummy_textstringepg_daysintegerepg_fieldsanyepg_precisionintegerepg_overridebooleanepg_hide_shortbooleanepg_show_idsbooleanlogo_precisionintegerlogo_overridebooleanhidden_providerbooleancustom_domainstringwelcomeanyapp_colorstringapp_logostring (uri)stream_formatstringts- MPEG-TS (no /live/)live_ts- MPEG-TS with /live/live_hls- HLS with /live/
One of:
"ts""live_ts""live_hls"
Response
200 OK
idstring (uuid)requirednamestringrequiredpositionintegerrequiredPlaylists are listed by position.
ownerstringrequiredThe username of the account that owns it.
usernamestringrequiredThe login players sign in with to this playlist.
passwordstringrequiredexpirystring (date-time)requiredcan be nullThe expiry date players are told; null: none.
messagestringrequiredThe message players are told.
countsobjectrequiredliveintegerrequiredChannels.
movieintegerrequiredMovies.
seriesintegerrequiredTV shows.
episodesintegerrequiredusersintegerrequiredCustomers it is handed to.
providersobject[]requiredidintegerrequiredtypestringrequiredHow its content is read, e.g.
xtream(a provider login: server, username and password) orm3u(a playlist link).urlstringrequiredThe address its streams start with.
labelstringrequiredsourcestringrequiredAn
m3uprovider's playlist link, its password hidden; '' for other types.
last_synced_atstring (date-time)requiredcan be nullupdated_atstring (date-time)requiredversionintegerrequiredMoves with every change to what its links serve.
custom_domainstringrequiredThe domain its links use; '' for the panel's.
settingsobjectrequiredEvery setting of a playlist.
max_connectionsintegertrack_connectionsbooleanlimit_connectionsbooleantime_shiftnumberrequiredHours added to the server time players are told.
languagestringprovider_vod_infobooleanauto_vod_infobooleanvod_info_optionsanyepg_gzipbooleanuse_tvg_idbooleanepg_dummy_textstringepg_daysintegerepg_fieldsanyepg_precisionintegerepg_overridebooleanepg_hide_shortbooleanepg_show_idsbooleanlogo_precisionintegerlogo_overridebooleanhidden_providerbooleancustom_domainstringwelcomeanyapp_colorstringapp_logostring (uri)stream_formatstringts- MPEG-TS (no /live/)live_ts- MPEG-TS with /live/live_hls- HLS with /live/
One of:
"ts""live_ts""live_hls"
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.