Playlist editor

Add picked entries from a source

POST/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

  • kindstringrequired

    live (channels), movie (movies) or series (TV shows).

    One of: "live" "movie" "series"

  • pidstring (uuid)required

Body

  • jobstring (uuid)required
  • keysstring[]
  • allboolean

    Default: false

  • categoryintegercan be null

Response

200 OK

  • changeobjectrequiredcan be null

    The history record this edit made; null when nothing changed.

    • idintegerrequired
    • seqintegerrequired

      Its place in the playlist's history.

    • labelstringrequired

      What was done, in words.

    • operationstringrequired
    • countintegerrequired

      How many entries it changed.

    • undoablebooleanrequired
    • created_atstring (date-time)required
  • versionintegerrequired

    The playlist's version after the edit.

  • rowsany[][]required

    The 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.

  • createdintegerrequired

    Entries added.

  • skippedintegerrequired

    Entries already in the playlist (the bin too).

  • messagestringrequired

    What 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.

What each error means