Brief description
The Get Ad Schedule endpoint returns epoch timestamps for next_ad_at, last_ad_at, and snooze_refresh_at. The documentation states these should be strings with the UTC timestamp in RFC3339 format. The endpoint is returning the wrong format.
In addition, the snooze_count, duration, and preroll_free_time says they should be integers, but the example provided returns strings. The example in the documentation just needs to be corrected. Easy fix.
Brief description The Get Ad Schedule endpoint returns epoch timestamps for
next_ad_at
,last_ad_at
, andsnooze_refresh_at
. The documentation states these should be strings with the UTC timestamp in RFC3339 format. The endpoint is returning the wrong format.In addition, the
snooze_count
,duration
, andpreroll_free_time
says they should be integers, but the example provided returns strings. The example in the documentation just needs to be corrected. Easy fix.The Channel Ad Break Begin Event documentation also refers to
timestamp
when it should bestarted_at
. Easy fix.How to reproduce GET https://api.twitch.tv/helix/channels/ads?broadcaster_id=30121622
Expected behavior GET https://api.twitch.tv/helix/channels/ads?broadcaster_id=30121622