Add picked entries from a source
/editor/playlists/{pid}/manual-updater/{kind}/import/write Change: creates or edits. Scopes
Adds entries listed by a finished read of a source (job): the ones whose keys are given, or every new one with all. They go to category when given, else to the category named as the source's (made when missing). One edit you can undo.
Path parameters
kindstringrequiredlive(channels),movie(movies) orseries(TV shows).One of:
"live""movie""series"pidstring (uuid)required
Body
jobstring (uuid)requiredkeysstring[]allbooleanDefault:
falsecategoryintegercan be null
Response
200 OK
changeobjectrequiredcan be nullThe history record this edit made; null when nothing changed.
idintegerrequiredseqintegerrequiredIts place in the playlist's history.
labelstringrequiredWhat was done, in words.
operationstringrequiredcountintegerrequiredHow many entries it changed.
undoablebooleanrequiredcreated_atstring (date-time)required
versionintegerrequiredThe playlist's version after the edit.
rowsany[][]requiredThe changed entries, each a list 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.
createdintegerrequiredEntries added.
skippedintegerrequiredEntries already in the playlist (the bin too).
messagestringrequiredWhat was done, in a sentence.
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.