Playlist editor API

Download a playlist backup

POST/editor/api/v1/playlists/{pid}/backup/

Called with a playlist editor API token. How

A backup file (.mbk) of the playlist, sent as it is written. private (the default) holds everything, customers and logins too, and restores only on this panel, over the playlist. shareable holds no customers and restores anywhere, as a new playlist. sections picks what it holds (default: all).

Path parameters

  • pidstring (uuid)required

Headers

  • X-Token-Passwordstring

    The token's own password, when it was made with one.

Body

  • typestring

    Default: "private"

  • sectionsstring[]

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

    Default: ["live","movie","series","updaters","users"]

Response

200 OK

string (binary)

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