Providers

Make a stream follow a provider channel

PUT/streams/streams/{id}/provider-link/

write Change: creates or edits. Scopes

The stream follows item_id of provider (a channel it lists now), in place of any channel it followed. The sync_* switches say what it takes from the channel; following the name may rename it at once. Panel operators who may change streams.

Path parameters

  • idstring (uuid)required

Body

  • providerintegerrequired
  • item_idstringrequired
  • sync_nameboolean
  • sync_logoboolean
  • sync_epg_idboolean

Response

200 OK

  • providerintegerrequired
  • item_idstringrequired
  • sync_nameboolean
  • sync_logoboolean
  • sync_epg_idboolean
  • provider_namestringrequiredread-only
  • item_namestringrequiredread-only
  • gonebooleanrequiredread-only
  • gone_atstring (date-time)requiredread-onlycan be null
  • synced_atstring (date-time)requiredread-only
  • stream_namestringrequiredread-only
  • renamed_fromstringrequiredread-onlycan be null

    Its name before, when following renamed it.

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