GET /channels/:channel/videos is returning inconsistent total of videos

GET /channels/:channel/videos?broadcasts=true&limit=100 is returning inconsistent total of videos.

First run:
channel:popedave _total:25 count(videos):25
channel:rickeybot _total:20 count(videos):20
channel:ryanyags _total:61 count(videos):61
channel:corleoninho _total:0 count(videos):0
channel:dreamhackhs _total:4 count(videos):4
channel:playhearthstone _total:119 count(videos):100
channel:teaminven _total:32 count(videos):32
channel:shubalou _total:9 count(videos):9
channel:slimmyshank69 _total:33 count(videos):33
channel:corwins _total:11 count(videos):11
channel:divinegreen _total:6 count(videos):6
channel:hunrizzletv _total:9 count(videos):9
channel:elded _total:19 count(videos):19
channel:ive_lp _total:9 count(videos):9

Second run:
channel:popedave _total:31 count(videos):31
channel:rickeybot _total:20 count(videos):20
channel:ryanyags _total:61 count(videos):61
channel:corleoninho _total:0 count(videos):0
channel:dreamhackhs _total:100 count(videos):100
channel:playhearthstone _total:219 count(videos):100
channel:teaminven _total:730 count(videos):100
channel:shubalou _total:12 count(videos):12
channel:slimmyshank69 _total:33 count(videos):33
channel:corwins _total:11 count(videos):11
channel:divinegreen _total:6 count(videos):6
channel:hunrizzletv _total:15 count(videos):15
channel:elded _total:47 count(videos):47
channel:ive_lp _total:9 count(videos):9

I think that the bug is that sometimes broadcasts=true is ignored

Can you try broadcast_type=archive instead of broadcasts=true? See if that is consistent and let me know! With the release of VOD upload, there have been some changes to this API, and I suspect that broadcasts was turned into broadcast_type.

I’ve tried it a couple of times and seems consistent. Is this new query permanent?

It is permanent. I have updating the docs on my ToDo list to reflect this change. Thanks for confirming!