Copy edits to another playlist
/editor/playlists/{pid}/entries/{kind}/copy-edits/write Change: creates or edits. Scopes
Copies values (values: guide ids, guide shifts, numbers, logos, addresses, names) from the rows of scope onto the matching rows of another playlist, matched by match_by (name, address, stream id or TMDB id). Handy after rebuilding a playlist from a fresh source.
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
scopeobjectrequired{"ids": […]},{"categories": […]}or{"all": true}.idsinteger[]categoriesinteger[]allboolean
match_bystringrequiredname- nameurl- urlstream_id- stream_idtmdb- tmdb
One of:
"name""url""stream_id""tmdb"valuesstring[]requiredOne of:
"epg_id""epg_shift""number""logo""url""name"playliststring (uuid)required
Response
200 OK
matchedintegerrequiredRows of the other playlist that matched.
updatedintegerrequiredOf those, rows that changed.
changeintegerrequiredcan be nullThe change made in the other playlist's history.
versionintegerrequiredThe other playlist's version after it.
playliststring (uuid)requiredThe other playlist's id.
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.