You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Bits Leaderboard says that if you use a period of not all you need to specify a started_at if you don't specify a started_at then it doesn't error it just returns no data.
How to reproduce
Call https://api.twitch.tv/helix/bits/leaderboard?count=2&period=week and get no data
Call https://api.twitch.tv/helix/bits/leaderboard?started_at=2021-01-29T00:00:00Z&period=week&count=2 and get data.
The former should error indicating the missing started_at
Expected behavior
If you specify a period and no started_at return an error
Brief description
The Bits Leaderboard says that if you use a
periodof notallyou need to specify astarted_atif you don't specify astarted_atthen it doesn't error it just returns no data.How to reproduce
Call
https://api.twitch.tv/helix/bits/leaderboard?count=2&period=weekand get no dataCall
https://api.twitch.tv/helix/bits/leaderboard?started_at=2021-01-29T00:00:00Z&period=week&count=2and get data.The former should error indicating the missing
started_atExpected behavior
If you specify a
periodand nostarted_atreturn an errorAdditional context or questions
https://discuss.dev.twitch.tv/t/issue-with-curl-query-for-bits-leaderboard/30201
The text was updated successfully, but these errors were encountered: