Playlist editor

Give a customer a new login

POST/editor/playlists/{pid}/users/{id}/login/

write Change: creates or edits. Scopes

Sets the username and password given, or random ones. Their old links stop working.

Path parameters

  • idintegerrequired
  • pidstring (uuid)required

Body

  • usernamestring
  • passwordstring

Response

200 OK

  • idintegerrequired
  • namestringrequired
  • usernamestringrequired
  • passwordstringrequired
  • enabledbooleanrequired
  • expirystring (date-time)requiredcan be null

    Null: never.

  • sync_expirybooleanrequired

    The end date is read from the provider when it nears.

  • max_connectionsintegerrequired

    -1: no limit.

  • messagestringrequired
  • notesstringrequired
  • languagestringrequired
  • all_livebooleanrequired

    Every channel category, new ones too.

  • live_categoriesinteger[]required
  • all_moviebooleanrequired
  • movie_categoriesinteger[]required
  • all_seriesbooleanrequired
  • series_categoriesinteger[]required
  • providersobject[]required

    Their own provider lines.

    • providerintegerrequired

      One of the playlist's providers.

    • usernamestringrequired
    • passwordstringrequired
    • dnsstringrequired

      Another address for this provider ('' for its own).

  • copy_loginbooleanrequired

    Their provider lines use their own username and password.

  • onlinebooleanrequired
  • last_seen_atstring (date-time)requiredcan be null
  • connectionsintegerrequired

    Connections now.

  • synced_atstring (date-time)requiredcan be null
  • created_atstring (date-time)required

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