Delete rows
/editor/playlists/{pid}/entries/{kind}/delete/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Sends channels, movies or TV shows (ids) to the recycle bin, from where they can be restored.
Path parameters
kindstringrequiredWhich list of the playlist:
live(channels),movie(movies) orseries(TV shows).One of:
"live""movie""series"pidstring (uuid)requiredThe playlist's id.
Body
idsinteger[]required
Response
200 OK
changeobjectrequiredcan be nullThe change it made in the history; null when nothing changed.
idintegerrequiredseqintegerrequiredIts place in the playlist's history.
labelstringrequiredWhat it did, in words, e.g. "Renamed 12 channels".
operationstringrequiredThe kind of edit, e.g.
save,rename,move,delete,purge,sort,tool:replace,undo.kindstringrequiredThe list it changed:
live,movieorseries; empty when it was not one list.countintegerrequiredHow many rows it changed.
undoablebooleanrequiredWhether it can still be undone or reverted.
undonebooleanrequiredWhether it is undone (redo brings it back).
created_atstring (date-time)required
versionintegerrequiredThe playlist's version after the edit.
rowsany[][]requiredcan be nullThe rows it changed, as the grid lists them; null when there are too many to send: load the list again. Each row is an array of values in this order: id, category, name, source_name, url, logo, epg_id, epg_shift, number, catchup_days, tmdb_id, rating, hidden, sync_name, deleted_at, created_at, updated_at, provider, episodes.
categoriesobject[]requiredThe categories it changed.
idintegerrequirednamestringrequiredsource_namestringrequiredIts name at the provider ('' for one made in the editor).
positionintegerrequiredCategories are listed by position.
hiddenbooleanrequiredHidden from the playlist players get.
sync_namebooleanrequiredTakes the provider's name again at each sync.
deleted_atstring (date-time)requiredcan be nullWhen it went to the recycle bin; null when it is not there.
countintegerrequiredHow many rows it shows.
removedinteger[]requiredIds of rows removed for good.
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.