Playlist editor

Restore a playlist backup

POST/editor/restore/

manage Delete and money: deletes, credits, servers or panel settings. Scopes

Restores a backup file in a background task. A private one goes over its playlist (or playlist); a shareable one becomes a new playlist. With name and no playlist, it becomes a new playlist of that name. Only the sections chosen are overwritten (default: all).

Body

Sent as multipart/form-data.

  • sectionsstring[]

    What to restore (default: all). In a form, also one comma-separated value.

    One of: "live" "movie" "series" "users" "updaters"

  • filestring (binary)required

    Up to 500 MB.

  • playliststring (uuid)
  • namestring

Response

202 OK

  • jobstring (uuid)required

    The background task: follow it with GET /editor/jobs/{id}/ (/editor/api/v1/jobs/{id}/ with a token).

  • playliststring (uuid)required

    The playlist the task fills.

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.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means