Redo the last undone change
POST
/editor/playlists/{pid}/history/redo/write Change: creates or edits. Scopes
Redoes the change undone last.
Path parameters
pidstring (uuid)requiredThe playlist's id.
Response
200 OK
changeobjectrequiredThe change undone, redone, or made by the revert.
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 it.
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.
- 409 It can no longer be put back: rows it touched were removed for good since. The change is marked as no longer undoable.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.