From d5b4856f340532a9f13d9ac79d8a1cff27a245fa Mon Sep 17 00:00:00 2001 From: Satont Date: Fri, 7 Jun 2024 01:46:29 +0300 Subject: [PATCH] kruto --- apps/api-gql/schema/twitch.graphqls | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/api-gql/schema/twitch.graphqls b/apps/api-gql/schema/twitch.graphqls index 2b92da229..510c221c0 100644 --- a/apps/api-gql/schema/twitch.graphqls +++ b/apps/api-gql/schema/twitch.graphqls @@ -4,6 +4,11 @@ extend type Query { twitchGetChannelRewards(channelId: ID): TwirTwitchChannelRewardResponse! + """ + Get channel badges. + If channelId is not provided - selected dashboard/authenticated user channelId is used, depending on context. + For example if queried by apiKey - userId belongs to apiKey owner id. + """ twitchGetChannelBadges(channelId: ID): TwirTwitchChannelBadgeResponse! twitchGetGlobalBadges: TwirTwitchGlobalBadgeResponse! }