Get a created channel's plan
/streams/{id}/plan/read Read: looks, changes nothing. Scopes
What a created channel plays, in which order, at which fixed times and how it looks. It is written with the stream (plan in a create or an update). 404 for other streams.
Path parameters
idstring (uuid)requiredThe stream's id.
Response
200 OK
orderstringin_order- In ordershuffle- Shuffled
One of:
"in_order""shuffle"endingstringloop- Start again from the toponce- Play once, then turn the channel off
One of:
"loop""once"formatstringauto- Convert only the titles in another formatcopy- Never convert (cheapest)convert- Convert every title (needed for the logo and the banner)
One of:
"auto""copy""convert"logobooleanDraw the channel logo on the picture. Every title is then converted.
logo_cornerstringtop-right- Top righttop-left- Top leftbottom-right- Bottom rightbottom-left- Bottom left
One of:
"top-right""top-left""bottom-right""bottom-left"banner_minutesintegerShow "Next:
" during the last this many minutes of each title (0 = never). Every title is then converted. timezonestringThe time zone the fixed times are written in.
guidestringmade- Made from the scheduleedited- Made from the schedule, with my changesown- A guide I choose
One of:
"made""edited""own"itemsobject[]kindstringrequiredmovie- A filmepisode- An episodeseries- A whole showseason- A seasonmovie_category- The films of a categoryseries_category- The shows of a categoryall_movies- Every filmall_episodes- Every episodeeverything- Every film and episode
One of:
"movie""episode""series""season""movie_category""series_category""all_movies""all_episodes""everything"moviestring (uuid)can be nullepisodestring (uuid)can be nullseriesstring (uuid)can be nullseasonstring (uuid)can be nullcategorystring (uuid)can be nulllabelstringrequiredread-only
slotsobject[]kindstringrequiredmovie- A filmepisode- An episodeseries- A whole showseason- A seasonmovie_category- The films of a categoryseries_category- The shows of a categoryall_movies- Every filmall_episodes- Every episodeeverything- Every film and episode
One of:
"movie""episode""series""season""movie_category""series_category""all_movies""all_episodes""everything"moviestring (uuid)can be nullepisodestring (uuid)can be nullseriesstring (uuid)can be nullseasonstring (uuid)can be nullcategorystring (uuid)can be nulllabelstringrequiredread-onlystartsstring (time)requireddatestring (date)can be nulllength_minutesintegercan be nullcountintegerDefault:
1
started_atstring (date-time)requiredread-onlyends_atstring (date-time)requiredread-onlycan be nullwaitinganyrequiredread-onlyupdated_atstring (date-time)requiredread-only
Errors
- 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
- 429 Slow down: wait the seconds in the Retry-After header, then try again.