Providers

Link streams to provider channels

POST/streams/providers/links/apply/

write Change: creates or edits. Scopes

Makes each stream follow the channel given. Streams you may not change and channels the provider does not list are skipped. The sync_* switches, when sent, set what each stream takes from its channel. Panel operators who may change streams.

Body

  • linksobject[]required
    • streamstring (uuid)required
    • providerintegerrequired
    • item_idstringrequired
  • sync_namebooleancan be null
  • sync_logobooleancan be null
  • sync_epg_idbooleancan be null

Response

200 OK

  • linkedintegerrequired
  • skippedintegerrequired
  • renamedintegerrequired

    Streams renamed to their channel.

  • renamesobject[]required

    The first 100 of them.

    • streamstring (uuid)required
    • fromstringrequired

      Its name before.

    • tostringrequired

      Its name now.

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