I am trying to retrieve a list of all videos for the following channel via the API: https://www.twitch.tv/ochighschoolesportsleague/
I see on the Twitch website that there are currently two videos, one is a “Past Premiere” and one is a “Past Broadcast”.
When I send requests to the API, I am only getting the Past Broadcast from either of these two Helix and Kraken video endpoints:
https://api.twitch.tv/helix/videos?user_id=179428323
https://api.twitch.tv/kraken/channels/ochighschoolesportsleague/videos?broadcast_type=archive
These two calls return no videos at all, so it doesn’t seem like the video is hiding behind some other broadcast type:
https://api.twitch.tv/kraken/channels/ochighschoolesportsleague/videos?broadcast_type=highlight
https://api.twitch.tv/kraken/channels/ochighschoolesportsleague/videos?broadcast_type=upload
Which API endpoints can I call to retrieve both videos like I see on the Twitch website?
As a workaround, I attempted to get the items using the Kraken collections/:channel_id/items endpoint. However to retrieve the collection ID for that endpoint, I need to get the collections list by channel ID. So I called the following endpoint:
https://api.twitch.tv/kraken/channels/179428323/collections
However, that returns a 404 error.
What am I doing wrong?