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
providerintegerrequireditem_idstringrequiredsync_namebooleansync_logobooleansync_epg_idboolean
Response
200 OK
providerintegerrequireditem_idstringrequiredsync_namebooleansync_logobooleansync_epg_idbooleanprovider_namestringrequiredread-onlyitem_namestringrequiredread-onlygonebooleanrequiredread-onlygone_atstring (date-time)requiredread-onlycan be nullsynced_atstring (date-time)requiredread-onlystream_namestringrequiredread-onlyrenamed_fromstringrequiredread-onlycan be nullIts 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.