Remove episodes for good
/editor/playlists/{pid}/series/{series_id}/episodes/purge/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Removes episodes that are in the recycle bin for good (any other episode refuses the request). This cannot be undone.
Path parameters
pidstring (uuid)requiredThe playlist's id.
series_idintegerrequiredThe TV show's id (a row of the
serieslist).
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[][]requiredThe TV shows' rows (their episode counts change). 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.
episodesobject[]requiredcan be nullThe episodes it changed; null when there are too many to send: load them again.
idintegerrequiredseasonintegerrequired-1: none.
numberintegerrequired-1: none.
namestringrequiredurlstringrequiredThe stream address players open.
infoobjectrequireddeleted_atstring (date-time)requiredcan be nullWhen it went to the recycle bin; null when it is not there.
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.