#![allow(dead_code)]
use super::{EndpointStability, HelixAuthKind, HelixEndpoint};
use crate::http::HttpMethod;
pub mod ads {
use super::*;
pub const ADS_START_COMMERCIAL: HelixEndpoint = HelixEndpoint {
id: "ads_start_commercial",
group: "Ads",
name: "Start Commercial",
description: "Starts a commercial on the specified channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/channels/commercial",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:edit:commercial"],
supports_pagination: true,
};
declare_generated_endpoint!(
StartCommercialRequest,
StartCommercialResponse,
ADS_START_COMMERCIAL
);
pub const ADS_GET_AD_SCHEDULE: HelixEndpoint = HelixEndpoint {
id: "ads_get_ad_schedule",
group: "Ads",
name: "Get Ad Schedule",
description: "Returns ad schedule related information.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channels/ads",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:read:ads"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetAdScheduleRequest,
GetAdScheduleResponse,
ADS_GET_AD_SCHEDULE
);
pub const ADS_SNOOZE_NEXT_AD: HelixEndpoint = HelixEndpoint {
id: "ads_snooze_next_ad",
group: "Ads",
name: "Snooze Next Ad",
description: "Pushes back the timestamp of the upcoming automatic mid-roll ad by 5 minutes.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/channels/ads/schedule/snooze",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:manage:ads"],
supports_pagination: true,
};
declare_generated_endpoint!(
SnoozeNextAdRequest,
SnoozeNextAdResponse,
ADS_SNOOZE_NEXT_AD
);
}
pub mod analytics {
use super::*;
pub const ANALYTICS_GET_EXTENSION_ANALYTICS: HelixEndpoint = HelixEndpoint {
id: "analytics_get_extension_analytics",
group: "Analytics",
name: "Get Extension Analytics",
description: "Gets an analytics report for one or more extensions.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/analytics/extensions",
auth_kind: HelixAuthKind::User,
scopes: &["analytics:read:extensions"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetExtensionAnalyticsRequest,
GetExtensionAnalyticsResponse,
ANALYTICS_GET_EXTENSION_ANALYTICS
);
pub const ANALYTICS_GET_GAME_ANALYTICS: HelixEndpoint = HelixEndpoint {
id: "analytics_get_game_analytics",
group: "Analytics",
name: "Get Game Analytics",
description: "Gets an analytics report for one or more games.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/analytics/games",
auth_kind: HelixAuthKind::User,
scopes: &["analytics:read:games"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetGameAnalyticsRequest,
GetGameAnalyticsResponse,
ANALYTICS_GET_GAME_ANALYTICS
);
}
pub mod bits {
use super::*;
pub const BITS_GET_BITS_LEADERBOARD: HelixEndpoint = HelixEndpoint {
id: "bits_get_bits_leaderboard",
group: "Bits",
name: "Get Bits Leaderboard",
description: "Gets the Bits leaderboard for the authenticated broadcaster.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/bits/leaderboard",
auth_kind: HelixAuthKind::User,
scopes: &["bits:read"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetBitsLeaderboardRequest,
GetBitsLeaderboardResponse,
BITS_GET_BITS_LEADERBOARD
);
pub const BITS_GET_CHEERMOTES: HelixEndpoint = HelixEndpoint {
id: "bits_get_cheermotes",
group: "Bits",
name: "Get Cheermotes",
description: "Gets a list of Cheermotes that users can use to cheer Bits.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/bits/cheermotes",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetCheermotesRequest,
GetCheermotesResponse,
BITS_GET_CHEERMOTES
);
pub const BITS_GET_EXTENSION_TRANSACTIONS: HelixEndpoint = HelixEndpoint {
id: "bits_get_extension_transactions",
group: "Bits",
name: "Get Extension Transactions",
description: "Gets an extension’s list of transactions.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/extensions/transactions",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetExtensionTransactionsRequest,
GetExtensionTransactionsResponse,
BITS_GET_EXTENSION_TRANSACTIONS
);
}
pub mod channels {
use super::*;
pub const CHANNELS_GET_CHANNEL_INFORMATION: HelixEndpoint = HelixEndpoint {
id: "channels_get_channel_information",
group: "Channels",
name: "Get Channel Information",
description: "Gets information about one or more channels.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channels",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelInformationRequest,
GetChannelInformationResponse,
CHANNELS_GET_CHANNEL_INFORMATION
);
pub const CHANNELS_MODIFY_CHANNEL_INFORMATION: HelixEndpoint = HelixEndpoint {
id: "channels_modify_channel_information",
group: "Channels",
name: "Modify Channel Information",
description: "Updates a channel’s properties.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/channels",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:broadcast"],
supports_pagination: true,
};
declare_generated_endpoint!(
ModifyChannelInformationRequest,
ModifyChannelInformationResponse,
CHANNELS_MODIFY_CHANNEL_INFORMATION
);
pub const CHANNELS_GET_CHANNEL_EDITORS: HelixEndpoint = HelixEndpoint {
id: "channels_get_channel_editors",
group: "Channels",
name: "Get Channel Editors",
description: "Gets the broadcaster’s list editors.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channels/editors",
auth_kind: HelixAuthKind::User,
scopes: &["channel:read:editors"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelEditorsRequest,
GetChannelEditorsResponse,
CHANNELS_GET_CHANNEL_EDITORS
);
pub const CHANNELS_GET_FOLLOWED_CHANNELS: HelixEndpoint = HelixEndpoint {
id: "channels_get_followed_channels",
group: "Channels",
name: "Get Followed Channels",
description: "Gets a list of broadcasters that the specified user follows. You can also use this endpoint to see whether a user follows a specific broadcaster.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channels/followed",
auth_kind: HelixAuthKind::User,
scopes: &["user:read:follows"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetFollowedChannelsRequest,
GetFollowedChannelsResponse,
CHANNELS_GET_FOLLOWED_CHANNELS
);
pub const CHANNELS_GET_CHANNEL_FOLLOWERS: HelixEndpoint = HelixEndpoint {
id: "channels_get_channel_followers",
group: "Channels",
name: "Get Channel Followers",
description: "Gets a list of users that follow the specified broadcaster. You can also use this endpoint to see whether a specific user follows the broadcaster.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channels/followers",
auth_kind: HelixAuthKind::User,
scopes: &["moderator:read:followers"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetChannelFollowersRequest,
GetChannelFollowersResponse,
CHANNELS_GET_CHANNEL_FOLLOWERS
);
}
pub mod channel_points {
use super::*;
pub const CHANNEL_POINTS_CREATE_CUSTOM_REWARDS: HelixEndpoint = HelixEndpoint {
id: "channel_points_create_custom_rewards",
group: "Channel Points",
name: "Create Custom Rewards",
description: "Creates a Custom Reward in the broadcaster’s channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/channel_points/custom_rewards",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:redemptions"],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateCustomRewardsRequest,
CreateCustomRewardsResponse,
CHANNEL_POINTS_CREATE_CUSTOM_REWARDS
);
pub const CHANNEL_POINTS_DELETE_CUSTOM_REWARD: HelixEndpoint = HelixEndpoint {
id: "channel_points_delete_custom_reward",
group: "Channel Points",
name: "Delete Custom Reward",
description: "Deletes a custom reward that the broadcaster created.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/channel_points/custom_rewards",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:redemptions"],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteCustomRewardRequest,
DeleteCustomRewardResponse,
CHANNEL_POINTS_DELETE_CUSTOM_REWARD
);
pub const CHANNEL_POINTS_GET_CUSTOM_REWARD: HelixEndpoint = HelixEndpoint {
id: "channel_points_get_custom_reward",
group: "Channel Points",
name: "Get Custom Reward",
description: "Gets a list of custom rewards that the specified broadcaster created.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channel_points/custom_rewards",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:redemptions", "channel:read:redemptions"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetCustomRewardRequest,
GetCustomRewardResponse,
CHANNEL_POINTS_GET_CUSTOM_REWARD
);
pub const CHANNEL_POINTS_GET_CUSTOM_REWARD_REDEMPTION: HelixEndpoint = HelixEndpoint {
id: "channel_points_get_custom_reward_redemption",
group: "Channel Points",
name: "Get Custom Reward Redemption",
description: "Gets a list of redemptions for a custom reward.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channel_points/custom_rewards/redemptions",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:redemptions", "channel:read:redemptions"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetCustomRewardRedemptionRequest,
GetCustomRewardRedemptionResponse,
CHANNEL_POINTS_GET_CUSTOM_REWARD_REDEMPTION
);
pub const CHANNEL_POINTS_UPDATE_CUSTOM_REWARD: HelixEndpoint = HelixEndpoint {
id: "channel_points_update_custom_reward",
group: "Channel Points",
name: "Update Custom Reward",
description: "Updates a custom reward.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/channel_points/custom_rewards",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:redemptions"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateCustomRewardRequest,
UpdateCustomRewardResponse,
CHANNEL_POINTS_UPDATE_CUSTOM_REWARD
);
pub const CHANNEL_POINTS_UPDATE_REDEMPTION_STATUS: HelixEndpoint = HelixEndpoint {
id: "channel_points_update_redemption_status",
group: "Channel Points",
name: "Update Redemption Status",
description: "Updates a redemption’s status.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/channel_points/custom_rewards/redemptions",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:redemptions"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateRedemptionStatusRequest,
UpdateRedemptionStatusResponse,
CHANNEL_POINTS_UPDATE_REDEMPTION_STATUS
);
}
pub mod charity {
use super::*;
pub const CHARITY_GET_CHARITY_CAMPAIGN: HelixEndpoint = HelixEndpoint {
id: "charity_get_charity_campaign",
group: "Charity",
name: "Get Charity Campaign",
description: "Gets information about the broadcaster’s active charity campaign.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/charity/campaigns",
auth_kind: HelixAuthKind::User,
scopes: &["channel:read:charity"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetCharityCampaignRequest,
GetCharityCampaignResponse,
CHARITY_GET_CHARITY_CAMPAIGN
);
pub const CHARITY_GET_CHARITY_CAMPAIGN_DONATIONS: HelixEndpoint = HelixEndpoint {
id: "charity_get_charity_campaign_donations",
group: "Charity",
name: "Get Charity Campaign Donations",
description: "Gets the list of donations that users have made to the broadcaster’s active charity campaign.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/charity/donations",
auth_kind: HelixAuthKind::User,
scopes: &["channel:read:charity"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetCharityCampaignDonationsRequest,
GetCharityCampaignDonationsResponse,
CHARITY_GET_CHARITY_CAMPAIGN_DONATIONS
);
}
pub mod chat {
use super::*;
pub const CHAT_GET_CHATTERS: HelixEndpoint = HelixEndpoint {
id: "chat_get_chatters",
group: "Chat",
name: "Get Chatters",
description: "Gets the list of users that are connected to the broadcaster’s chat session.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/chatters",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:read:chatters"],
supports_pagination: true,
};
declare_generated_endpoint!(GetChattersRequest, GetChattersResponse, CHAT_GET_CHATTERS);
pub const CHAT_GET_CHANNEL_EMOTES: HelixEndpoint = HelixEndpoint {
id: "chat_get_channel_emotes",
group: "Chat",
name: "Get Channel Emotes",
description: "Gets the broadcaster’s list of custom emotes.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/emotes",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelEmotesRequest,
GetChannelEmotesResponse,
CHAT_GET_CHANNEL_EMOTES
);
pub const CHAT_GET_GLOBAL_EMOTES: HelixEndpoint = HelixEndpoint {
id: "chat_get_global_emotes",
group: "Chat",
name: "Get Global Emotes",
description: "Gets all global emotes.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/emotes/global",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetGlobalEmotesRequest,
GetGlobalEmotesResponse,
CHAT_GET_GLOBAL_EMOTES
);
pub const CHAT_GET_EMOTE_SETS: HelixEndpoint = HelixEndpoint {
id: "chat_get_emote_sets",
group: "Chat",
name: "Get Emote Sets",
description: "Gets emotes for one or more specified emote sets.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/emotes/set",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetEmoteSetsRequest,
GetEmoteSetsResponse,
CHAT_GET_EMOTE_SETS
);
pub const CHAT_GET_CHANNEL_CHAT_BADGES: HelixEndpoint = HelixEndpoint {
id: "chat_get_channel_chat_badges",
group: "Chat",
name: "Get Channel Chat Badges",
description: "Gets the broadcaster’s list of custom chat badges.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/badges",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelChatBadgesRequest,
GetChannelChatBadgesResponse,
CHAT_GET_CHANNEL_CHAT_BADGES
);
pub const CHAT_GET_GLOBAL_CHAT_BADGES: HelixEndpoint = HelixEndpoint {
id: "chat_get_global_chat_badges",
group: "Chat",
name: "Get Global Chat Badges",
description: "Gets Twitch’s list of chat badges.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/badges/global",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetGlobalChatBadgesRequest,
GetGlobalChatBadgesResponse,
CHAT_GET_GLOBAL_CHAT_BADGES
);
pub const CHAT_GET_CHAT_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "chat_get_chat_settings",
group: "Chat",
name: "Get Chat Settings",
description: "Gets the broadcaster’s chat settings.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/settings",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetChatSettingsRequest,
GetChatSettingsResponse,
CHAT_GET_CHAT_SETTINGS
);
pub const CHAT_GET_SHARED_CHAT_SESSION: HelixEndpoint = HelixEndpoint {
id: "chat_get_shared_chat_session",
group: "Chat",
name: "Get Shared Chat Session",
description: "NEW Retrieves the active shared chat session for a channel.",
stability: EndpointStability::New,
method: HttpMethod::Get,
path: "/shared_chat/session",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetSharedChatSessionRequest,
GetSharedChatSessionResponse,
CHAT_GET_SHARED_CHAT_SESSION
);
pub const CHAT_GET_USER_EMOTES: HelixEndpoint = HelixEndpoint {
id: "chat_get_user_emotes",
group: "Chat",
name: "Get User Emotes",
description: "Retrieves emotes available to the user across all channels.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/emotes/user",
auth_kind: HelixAuthKind::User,
scopes: &["user:read:emotes"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetUserEmotesRequest,
GetUserEmotesResponse,
CHAT_GET_USER_EMOTES
);
pub const CHAT_UPDATE_CHAT_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "chat_update_chat_settings",
group: "Chat",
name: "Update Chat Settings",
description: "Updates the broadcaster’s chat settings.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/chat/settings",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:chat_settings"],
supports_pagination: true,
};
declare_generated_endpoint!(
UpdateChatSettingsRequest,
UpdateChatSettingsResponse,
CHAT_UPDATE_CHAT_SETTINGS
);
pub const CHAT_SEND_CHAT_ANNOUNCEMENT: HelixEndpoint = HelixEndpoint {
id: "chat_send_chat_announcement",
group: "Chat",
name: "Send Chat Announcement",
description: "Sends an announcement to the broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/chat/announcements",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:bot", "moderator:manage:announcements", "user:bot"],
supports_pagination: false,
};
declare_generated_endpoint!(
SendChatAnnouncementRequest,
SendChatAnnouncementResponse,
CHAT_SEND_CHAT_ANNOUNCEMENT
);
pub const CHAT_SEND_A_SHOUTOUT: HelixEndpoint = HelixEndpoint {
id: "chat_send_a_shoutout",
group: "Chat",
name: "Send a Shoutout",
description: "Sends a Shoutout to the specified broadcaster.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/chat/shoutouts",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:bot", "moderator:manage:shoutouts", "user:bot"],
supports_pagination: true,
};
declare_generated_endpoint!(
SendAShoutoutRequest,
SendAShoutoutResponse,
CHAT_SEND_A_SHOUTOUT
);
pub const CHAT_SEND_CHAT_MESSAGE: HelixEndpoint = HelixEndpoint {
id: "chat_send_chat_message",
group: "Chat",
name: "Send Chat Message",
description: "Sends a message to the broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/chat/messages",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:bot", "user:bot", "user:write:chat"],
supports_pagination: true,
};
declare_generated_endpoint!(
SendChatMessageRequest,
SendChatMessageResponse,
CHAT_SEND_CHAT_MESSAGE
);
pub const CHAT_GET_USER_CHAT_COLOR: HelixEndpoint = HelixEndpoint {
id: "chat_get_user_chat_color",
group: "Chat",
name: "Get User Chat Color",
description: "Gets the color used for the user’s name in chat.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/chat/color",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetUserChatColorRequest,
GetUserChatColorResponse,
CHAT_GET_USER_CHAT_COLOR
);
pub const CHAT_UPDATE_USER_CHAT_COLOR: HelixEndpoint = HelixEndpoint {
id: "chat_update_user_chat_color",
group: "Chat",
name: "Update User Chat Color",
description: "Updates the color used for the user’s name in chat.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/chat/color",
auth_kind: HelixAuthKind::User,
scopes: &["user:manage:chat_color"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateUserChatColorRequest,
UpdateUserChatColorResponse,
CHAT_UPDATE_USER_CHAT_COLOR
);
}
pub mod clips {
use super::*;
pub const CLIPS_CREATE_CLIP: HelixEndpoint = HelixEndpoint {
id: "clips_create_clip",
group: "Clips",
name: "Create Clip",
description: "Creates a clip from the broadcaster’s stream.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/clips",
auth_kind: HelixAuthKind::User,
scopes: &["clips:edit"],
supports_pagination: true,
};
declare_generated_endpoint!(CreateClipRequest, CreateClipResponse, CLIPS_CREATE_CLIP);
pub const CLIPS_CREATE_CLIP_FROM_VOD: HelixEndpoint = HelixEndpoint {
id: "clips_create_clip_from_vod",
group: "Clips",
name: "Create Clip From VOD",
description: "NEW Creates a clip from the broadcaster’s VOD.",
stability: EndpointStability::New,
method: HttpMethod::Post,
path: "/videos/clips",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:manage:clips", "editor:manage:clips"],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateClipFromVodRequest,
CreateClipFromVodResponse,
CLIPS_CREATE_CLIP_FROM_VOD
);
pub const CLIPS_GET_CLIPS: HelixEndpoint = HelixEndpoint {
id: "clips_get_clips",
group: "Clips",
name: "Get Clips",
description: "Gets one or more video clips.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/clips",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(GetClipsRequest, GetClipsResponse, CLIPS_GET_CLIPS);
pub const CLIPS_GET_CLIPS_DOWNLOAD: HelixEndpoint = HelixEndpoint {
id: "clips_get_clips_download",
group: "Clips",
name: "Get Clips Download",
description: "NEW Provides URLs to download the video file(s) for the specified clips.",
stability: EndpointStability::New,
method: HttpMethod::Get,
path: "/clips/downloads",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:manage:clips", "editor:manage:clips"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetClipsDownloadRequest,
GetClipsDownloadResponse,
CLIPS_GET_CLIPS_DOWNLOAD
);
}
pub mod conduits {
use super::*;
pub const CONDUITS_GET_CONDUITS: HelixEndpoint = HelixEndpoint {
id: "conduits_get_conduits",
group: "Conduits",
name: "Get Conduits",
description: "Gets the conduits for a client ID.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/eventsub/conduits",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetConduitsRequest,
GetConduitsResponse,
CONDUITS_GET_CONDUITS
);
pub const CONDUITS_CREATE_CONDUITS: HelixEndpoint = HelixEndpoint {
id: "conduits_create_conduits",
group: "Conduits",
name: "Create Conduits",
description: "Creates a new conduit.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/eventsub/conduits",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateConduitsRequest,
CreateConduitsResponse,
CONDUITS_CREATE_CONDUITS
);
pub const CONDUITS_UPDATE_CONDUITS: HelixEndpoint = HelixEndpoint {
id: "conduits_update_conduits",
group: "Conduits",
name: "Update Conduits",
description: "Updates a conduit’s shard count.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/eventsub/conduits",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
UpdateConduitsRequest,
UpdateConduitsResponse,
CONDUITS_UPDATE_CONDUITS
);
pub const CONDUITS_DELETE_CONDUIT: HelixEndpoint = HelixEndpoint {
id: "conduits_delete_conduit",
group: "Conduits",
name: "Delete Conduit",
description: "Deletes a specified conduit.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/eventsub/conduits",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteConduitRequest,
DeleteConduitResponse,
CONDUITS_DELETE_CONDUIT
);
pub const CONDUITS_GET_CONDUIT_SHARDS: HelixEndpoint = HelixEndpoint {
id: "conduits_get_conduit_shards",
group: "Conduits",
name: "Get Conduit Shards",
description: "Gets a lists of all shards for a conduit.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/eventsub/conduits/shards",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetConduitShardsRequest,
GetConduitShardsResponse,
CONDUITS_GET_CONDUIT_SHARDS
);
pub const CONDUITS_UPDATE_CONDUIT_SHARDS: HelixEndpoint = HelixEndpoint {
id: "conduits_update_conduit_shards",
group: "Conduits",
name: "Update Conduit Shards",
description: "Updates shard(s) for a conduit.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/eventsub/conduits/shards",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
UpdateConduitShardsRequest,
UpdateConduitShardsResponse,
CONDUITS_UPDATE_CONDUIT_SHARDS
);
}
pub mod ccls {
use super::*;
pub const CCLS_GET_CONTENT_CLASSIFICATION_LABELS: HelixEndpoint = HelixEndpoint {
id: "ccls_get_content_classification_labels",
group: "CCLs",
name: "Get Content Classification Labels",
description: "Gets information about Twitch content classification labels.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/content_classification_labels",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetContentClassificationLabelsRequest,
GetContentClassificationLabelsResponse,
CCLS_GET_CONTENT_CLASSIFICATION_LABELS
);
}
pub mod entitlements {
use super::*;
pub const ENTITLEMENTS_GET_DROPS_ENTITLEMENTS: HelixEndpoint = HelixEndpoint {
id: "entitlements_get_drops_entitlements",
group: "Entitlements",
name: "Get Drops Entitlements",
description: "Gets an organization’s list of entitlements that have been granted to a game, a user, or both.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/entitlements/drops",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetDropsEntitlementsRequest,
GetDropsEntitlementsResponse,
ENTITLEMENTS_GET_DROPS_ENTITLEMENTS
);
pub const ENTITLEMENTS_UPDATE_DROPS_ENTITLEMENTS: HelixEndpoint = HelixEndpoint {
id: "entitlements_update_drops_entitlements",
group: "Entitlements",
name: "Update Drops Entitlements",
description: "Updates the Drop entitlement’s fulfillment status.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/entitlements/drops",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateDropsEntitlementsRequest,
UpdateDropsEntitlementsResponse,
ENTITLEMENTS_UPDATE_DROPS_ENTITLEMENTS
);
}
pub mod extensions {
use super::*;
pub const EXTENSIONS_GET_EXTENSION_CONFIGURATION_SEGMENT: HelixEndpoint = HelixEndpoint {
id: "extensions_get_extension_configuration_segment",
group: "Extensions",
name: "Get Extension Configuration Segment",
description: "Gets the specified configuration segment from the specified extension.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/extensions/configurations",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetExtensionConfigurationSegmentRequest,
GetExtensionConfigurationSegmentResponse,
EXTENSIONS_GET_EXTENSION_CONFIGURATION_SEGMENT
);
pub const EXTENSIONS_SET_EXTENSION_CONFIGURATION_SEGMENT: HelixEndpoint = HelixEndpoint {
id: "extensions_set_extension_configuration_segment",
group: "Extensions",
name: "Set Extension Configuration Segment",
description: "Updates a configuration segment.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/extensions/configurations",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
SetExtensionConfigurationSegmentRequest,
SetExtensionConfigurationSegmentResponse,
EXTENSIONS_SET_EXTENSION_CONFIGURATION_SEGMENT
);
pub const EXTENSIONS_SET_EXTENSION_REQUIRED_CONFIGURATION: HelixEndpoint = HelixEndpoint {
id: "extensions_set_extension_required_configuration",
group: "Extensions",
name: "Set Extension Required Configuration",
description: "Updates the extension’s required_configuration string.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/extensions/required_configuration",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
SetExtensionRequiredConfigurationRequest,
SetExtensionRequiredConfigurationResponse,
EXTENSIONS_SET_EXTENSION_REQUIRED_CONFIGURATION
);
pub const EXTENSIONS_SEND_EXTENSION_PUBSUB_MESSAGE: HelixEndpoint = HelixEndpoint {
id: "extensions_send_extension_pubsub_message",
group: "Extensions",
name: "Send Extension PubSub Message",
description: "Sends a message to one or more viewers.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/extensions/pubsub",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
SendExtensionPubsubMessageRequest,
SendExtensionPubsubMessageResponse,
EXTENSIONS_SEND_EXTENSION_PUBSUB_MESSAGE
);
pub const EXTENSIONS_GET_EXTENSION_LIVE_CHANNELS: HelixEndpoint = HelixEndpoint {
id: "extensions_get_extension_live_channels",
group: "Extensions",
name: "Get Extension Live Channels",
description: "Gets a list of broadcasters that are streaming live and have installed or activated the extension.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/extensions/live",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetExtensionLiveChannelsRequest,
GetExtensionLiveChannelsResponse,
EXTENSIONS_GET_EXTENSION_LIVE_CHANNELS
);
pub const EXTENSIONS_GET_EXTENSION_SECRETS: HelixEndpoint = HelixEndpoint {
id: "extensions_get_extension_secrets",
group: "Extensions",
name: "Get Extension Secrets",
description: "Gets an extension’s list of shared secrets.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/extensions/jwt/secrets",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetExtensionSecretsRequest,
GetExtensionSecretsResponse,
EXTENSIONS_GET_EXTENSION_SECRETS
);
pub const EXTENSIONS_CREATE_EXTENSION_SECRET: HelixEndpoint = HelixEndpoint {
id: "extensions_create_extension_secret",
group: "Extensions",
name: "Create Extension Secret",
description: "Creates a shared secret used to sign and verify JWT tokens.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/extensions/jwt/secrets",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateExtensionSecretRequest,
CreateExtensionSecretResponse,
EXTENSIONS_CREATE_EXTENSION_SECRET
);
pub const EXTENSIONS_SEND_EXTENSION_CHAT_MESSAGE: HelixEndpoint = HelixEndpoint {
id: "extensions_send_extension_chat_message",
group: "Extensions",
name: "Send Extension Chat Message",
description: "Sends a message to the specified broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/extensions/chat",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
SendExtensionChatMessageRequest,
SendExtensionChatMessageResponse,
EXTENSIONS_SEND_EXTENSION_CHAT_MESSAGE
);
pub const EXTENSIONS_GET_EXTENSIONS: HelixEndpoint = HelixEndpoint {
id: "extensions_get_extensions",
group: "Extensions",
name: "Get Extensions",
description: "Gets information about an extension.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/extensions",
auth_kind: HelixAuthKind::ExtensionJwt,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetExtensionsRequest,
GetExtensionsResponse,
EXTENSIONS_GET_EXTENSIONS
);
pub const EXTENSIONS_GET_RELEASED_EXTENSIONS: HelixEndpoint = HelixEndpoint {
id: "extensions_get_released_extensions",
group: "Extensions",
name: "Get Released Extensions",
description: "Gets information about a released extension.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/extensions/released",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetReleasedExtensionsRequest,
GetReleasedExtensionsResponse,
EXTENSIONS_GET_RELEASED_EXTENSIONS
);
pub const EXTENSIONS_GET_EXTENSION_BITS_PRODUCTS: HelixEndpoint = HelixEndpoint {
id: "extensions_get_extension_bits_products",
group: "Extensions",
name: "Get Extension Bits Products",
description: "Gets the list of Bits products that belongs to the extension.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/bits/extensions",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetExtensionBitsProductsRequest,
GetExtensionBitsProductsResponse,
EXTENSIONS_GET_EXTENSION_BITS_PRODUCTS
);
pub const EXTENSIONS_UPDATE_EXTENSION_BITS_PRODUCT: HelixEndpoint = HelixEndpoint {
id: "extensions_update_extension_bits_product",
group: "Extensions",
name: "Update Extension Bits Product",
description: "Adds or updates a Bits product that the extension created.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/bits/extensions",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateExtensionBitsProductRequest,
UpdateExtensionBitsProductResponse,
EXTENSIONS_UPDATE_EXTENSION_BITS_PRODUCT
);
}
pub mod eventsub {
use super::*;
pub const EVENTSUB_CREATE_EVENTSUB_SUBSCRIPTION: HelixEndpoint = HelixEndpoint {
id: "eventsub_create_eventsub_subscription",
group: "EventSub",
name: "Create EventSub Subscription",
description: "Creates an EventSub subscription.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/eventsub/subscriptions",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:read:subscriptions"],
supports_pagination: true,
};
declare_generated_endpoint!(
CreateEventsubSubscriptionRequest,
CreateEventsubSubscriptionResponse,
EVENTSUB_CREATE_EVENTSUB_SUBSCRIPTION
);
pub const EVENTSUB_DELETE_EVENTSUB_SUBSCRIPTION: HelixEndpoint = HelixEndpoint {
id: "eventsub_delete_eventsub_subscription",
group: "EventSub",
name: "Delete EventSub Subscription",
description: "Deletes an EventSub subscription.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/eventsub/subscriptions",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteEventsubSubscriptionRequest,
DeleteEventsubSubscriptionResponse,
EVENTSUB_DELETE_EVENTSUB_SUBSCRIPTION
);
pub const EVENTSUB_GET_EVENTSUB_SUBSCRIPTIONS: HelixEndpoint = HelixEndpoint {
id: "eventsub_get_eventsub_subscriptions",
group: "EventSub",
name: "Get EventSub Subscriptions",
description: "Gets a list of EventSub subscriptions that the client in the access token created.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/eventsub/subscriptions",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetEventsubSubscriptionsRequest,
GetEventsubSubscriptionsResponse,
EVENTSUB_GET_EVENTSUB_SUBSCRIPTIONS
);
}
pub mod games {
use super::*;
pub const GAMES_GET_TOP_GAMES: HelixEndpoint = HelixEndpoint {
id: "games_get_top_games",
group: "Games",
name: "Get Top Games",
description: "Gets information about all broadcasts on Twitch.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/games/top",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(GetTopGamesRequest, GetTopGamesResponse, GAMES_GET_TOP_GAMES);
pub const GAMES_GET_GAMES: HelixEndpoint = HelixEndpoint {
id: "games_get_games",
group: "Games",
name: "Get Games",
description: "Gets information about specified games.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/games",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(GetGamesRequest, GetGamesResponse, GAMES_GET_GAMES);
}
pub mod goals {
use super::*;
pub const GOALS_GET_CREATOR_GOALS: HelixEndpoint = HelixEndpoint {
id: "goals_get_creator_goals",
group: "Goals",
name: "Get Creator Goals",
description: "Gets the broadcaster’s list of active goals.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/goals",
auth_kind: HelixAuthKind::User,
scopes: &["channel:read:goals"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetCreatorGoalsRequest,
GetCreatorGoalsResponse,
GOALS_GET_CREATOR_GOALS
);
}
pub mod guest_star {
use super::*;
pub const GUEST_STAR_GET_CHANNEL_GUEST_STAR_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "guest_star_get_channel_guest_star_settings",
group: "Guest Star",
name: "Get Channel Guest Star Settings",
description: "BETA Gets the channel settings for configuration of the Guest Star feature for a particular host.",
stability: EndpointStability::Beta,
method: HttpMethod::Get,
path: "/guest_star/channel_settings",
auth_kind: HelixAuthKind::None,
scopes: &[
"channel:manage:guest_star",
"channel:read:guest_star",
"moderator:manage:guest_star",
"moderator:read:guest_star",
],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelGuestStarSettingsRequest,
GetChannelGuestStarSettingsResponse,
GUEST_STAR_GET_CHANNEL_GUEST_STAR_SETTINGS
);
pub const GUEST_STAR_UPDATE_CHANNEL_GUEST_STAR_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "guest_star_update_channel_guest_star_settings",
group: "Guest Star",
name: "Update Channel Guest Star Settings",
description: "BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.",
stability: EndpointStability::Beta,
method: HttpMethod::Put,
path: "/guest_star/channel_settings",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateChannelGuestStarSettingsRequest,
UpdateChannelGuestStarSettingsResponse,
GUEST_STAR_UPDATE_CHANNEL_GUEST_STAR_SETTINGS
);
pub const GUEST_STAR_GET_GUEST_STAR_SESSION: HelixEndpoint = HelixEndpoint {
id: "guest_star_get_guest_star_session",
group: "Guest Star",
name: "Get Guest Star Session",
description: "BETA Gets information about an ongoing Guest Star session for a particular channel.",
stability: EndpointStability::Beta,
method: HttpMethod::Get,
path: "/guest_star/session",
auth_kind: HelixAuthKind::None,
scopes: &[
"channel:manage:guest_star",
"channel:read:guest_star",
"moderator:manage:guest_star",
"moderator:read:guest_star",
],
supports_pagination: false,
};
declare_generated_endpoint!(
GetGuestStarSessionRequest,
GetGuestStarSessionResponse,
GUEST_STAR_GET_GUEST_STAR_SESSION
);
pub const GUEST_STAR_CREATE_GUEST_STAR_SESSION: HelixEndpoint = HelixEndpoint {
id: "guest_star_create_guest_star_session",
group: "Guest Star",
name: "Create Guest Star Session",
description: "BETA Programmatically creates a Guest Star session on behalf of the broadcaster.",
stability: EndpointStability::Beta,
method: HttpMethod::Post,
path: "/guest_star/session",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateGuestStarSessionRequest,
CreateGuestStarSessionResponse,
GUEST_STAR_CREATE_GUEST_STAR_SESSION
);
pub const GUEST_STAR_END_GUEST_STAR_SESSION: HelixEndpoint = HelixEndpoint {
id: "guest_star_end_guest_star_session",
group: "Guest Star",
name: "End Guest Star Session",
description: "BETA Programmatically ends a Guest Star session on behalf of the broadcaster.",
stability: EndpointStability::Beta,
method: HttpMethod::Delete,
path: "/guest_star/session",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
EndGuestStarSessionRequest,
EndGuestStarSessionResponse,
GUEST_STAR_END_GUEST_STAR_SESSION
);
pub const GUEST_STAR_GET_GUEST_STAR_INVITES: HelixEndpoint = HelixEndpoint {
id: "guest_star_get_guest_star_invites",
group: "Guest Star",
name: "Get Guest Star Invites",
description: "BETA Provides the caller with a list of pending invites to a Guest Star session.",
stability: EndpointStability::Beta,
method: HttpMethod::Get,
path: "/guest_star/invites",
auth_kind: HelixAuthKind::None,
scopes: &[
"channel:manage:guest_star",
"channel:read:guest_star",
"moderator:manage:guest_star",
"moderator:read:guest_star",
],
supports_pagination: false,
};
declare_generated_endpoint!(
GetGuestStarInvitesRequest,
GetGuestStarInvitesResponse,
GUEST_STAR_GET_GUEST_STAR_INVITES
);
pub const GUEST_STAR_SEND_GUEST_STAR_INVITE: HelixEndpoint = HelixEndpoint {
id: "guest_star_send_guest_star_invite",
group: "Guest Star",
name: "Send Guest Star Invite",
description: "BETA Sends an invite to a specified guest on behalf of the broadcaster for a Guest Star session in progress.",
stability: EndpointStability::Beta,
method: HttpMethod::Post,
path: "/guest_star/invites",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star", "moderator:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
SendGuestStarInviteRequest,
SendGuestStarInviteResponse,
GUEST_STAR_SEND_GUEST_STAR_INVITE
);
pub const GUEST_STAR_DELETE_GUEST_STAR_INVITE: HelixEndpoint = HelixEndpoint {
id: "guest_star_delete_guest_star_invite",
group: "Guest Star",
name: "Delete Guest Star Invite",
description: "BETA Revokes a previously sent invite for a Guest Star session.",
stability: EndpointStability::Beta,
method: HttpMethod::Delete,
path: "/guest_star/invites",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star", "moderator:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteGuestStarInviteRequest,
DeleteGuestStarInviteResponse,
GUEST_STAR_DELETE_GUEST_STAR_INVITE
);
pub const GUEST_STAR_ASSIGN_GUEST_STAR_SLOT: HelixEndpoint = HelixEndpoint {
id: "guest_star_assign_guest_star_slot",
group: "Guest Star",
name: "Assign Guest Star Slot",
description: "BETA Allows a previously invited user to be assigned a slot within the active Guest Star session.",
stability: EndpointStability::Beta,
method: HttpMethod::Post,
path: "/guest_star/slot",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star", "moderator:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
AssignGuestStarSlotRequest,
AssignGuestStarSlotResponse,
GUEST_STAR_ASSIGN_GUEST_STAR_SLOT
);
pub const GUEST_STAR_UPDATE_GUEST_STAR_SLOT: HelixEndpoint = HelixEndpoint {
id: "guest_star_update_guest_star_slot",
group: "Guest Star",
name: "Update Guest Star Slot",
description: "BETA Allows a user to update the assigned slot for a particular user within the active Guest Star session.",
stability: EndpointStability::Beta,
method: HttpMethod::Patch,
path: "/guest_star/slot",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star", "moderator:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateGuestStarSlotRequest,
UpdateGuestStarSlotResponse,
GUEST_STAR_UPDATE_GUEST_STAR_SLOT
);
pub const GUEST_STAR_DELETE_GUEST_STAR_SLOT: HelixEndpoint = HelixEndpoint {
id: "guest_star_delete_guest_star_slot",
group: "Guest Star",
name: "Delete Guest Star Slot",
description: "BETA Allows a caller to remove a slot assignment from a user participating in an active Guest Star session.",
stability: EndpointStability::Beta,
method: HttpMethod::Delete,
path: "/guest_star/slot",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star", "moderator:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteGuestStarSlotRequest,
DeleteGuestStarSlotResponse,
GUEST_STAR_DELETE_GUEST_STAR_SLOT
);
pub const GUEST_STAR_UPDATE_GUEST_STAR_SLOT_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "guest_star_update_guest_star_slot_settings",
group: "Guest Star",
name: "Update Guest Star Slot Settings",
description: "BETA Allows a user to update slot settings for a particular guest within a Guest Star session.",
stability: EndpointStability::Beta,
method: HttpMethod::Patch,
path: "/guest_star/slot_settings",
auth_kind: HelixAuthKind::None,
scopes: &["channel:manage:guest_star", "moderator:manage:guest_star"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateGuestStarSlotSettingsRequest,
UpdateGuestStarSlotSettingsResponse,
GUEST_STAR_UPDATE_GUEST_STAR_SLOT_SETTINGS
);
}
pub mod hype_train {
use super::*;
pub const HYPE_TRAIN_GET_HYPE_TRAIN_STATUS: HelixEndpoint = HelixEndpoint {
id: "hype_train_get_hype_train_status",
group: "Hype Train",
name: "Get Hype Train Status",
description: "NEW Gets the status of a Hype Train for the specified broadcaster.",
stability: EndpointStability::New,
method: HttpMethod::Get,
path: "/hypetrain/status",
auth_kind: HelixAuthKind::User,
scopes: &["channel:read:hype_train"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetHypeTrainStatusRequest,
GetHypeTrainStatusResponse,
HYPE_TRAIN_GET_HYPE_TRAIN_STATUS
);
}
pub mod moderation {
use super::*;
pub const MODERATION_CHECK_AUTOMOD_STATUS: HelixEndpoint = HelixEndpoint {
id: "moderation_check_automod_status",
group: "Moderation",
name: "Check AutoMod Status",
description: "Checks whether AutoMod would flag the specified message for review.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/moderation/enforcements/status",
auth_kind: HelixAuthKind::Either,
scopes: &["moderation:read"],
supports_pagination: false,
};
declare_generated_endpoint!(
CheckAutomodStatusRequest,
CheckAutomodStatusResponse,
MODERATION_CHECK_AUTOMOD_STATUS
);
pub const MODERATION_MANAGE_HELD_AUTOMOD_MESSAGES: HelixEndpoint = HelixEndpoint {
id: "moderation_manage_held_automod_messages",
group: "Moderation",
name: "Manage Held AutoMod Messages",
description: "Allow or deny the message that AutoMod flagged for review.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/moderation/automod/message",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:automod"],
supports_pagination: false,
};
declare_generated_endpoint!(
ManageHeldAutomodMessagesRequest,
ManageHeldAutomodMessagesResponse,
MODERATION_MANAGE_HELD_AUTOMOD_MESSAGES
);
pub const MODERATION_GET_AUTOMOD_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_automod_settings",
group: "Moderation",
name: "Get AutoMod Settings",
description: "Gets the broadcaster’s AutoMod settings.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/automod/settings",
auth_kind: HelixAuthKind::Either,
scopes: &[
"moderator:manage:automod_settings",
"moderator:read:automod_settings",
],
supports_pagination: false,
};
declare_generated_endpoint!(
GetAutomodSettingsRequest,
GetAutomodSettingsResponse,
MODERATION_GET_AUTOMOD_SETTINGS
);
pub const MODERATION_UPDATE_AUTOMOD_SETTINGS: HelixEndpoint = HelixEndpoint {
id: "moderation_update_automod_settings",
group: "Moderation",
name: "Update AutoMod Settings",
description: "Updates the broadcaster’s AutoMod settings.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/moderation/automod/settings",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:automod_settings"],
supports_pagination: true,
};
declare_generated_endpoint!(
UpdateAutomodSettingsRequest,
UpdateAutomodSettingsResponse,
MODERATION_UPDATE_AUTOMOD_SETTINGS
);
pub const MODERATION_GET_BANNED_USERS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_banned_users",
group: "Moderation",
name: "Get Banned Users",
description: "Gets all users that the broadcaster banned or put in a timeout.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/banned",
auth_kind: HelixAuthKind::Either,
scopes: &["moderation:read", "moderator:manage:banned_users"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetBannedUsersRequest,
GetBannedUsersResponse,
MODERATION_GET_BANNED_USERS
);
pub const MODERATION_BAN_USER: HelixEndpoint = HelixEndpoint {
id: "moderation_ban_user",
group: "Moderation",
name: "Ban User",
description: "Bans a user from participating in a broadcaster’s chat room or puts them in a timeout.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/moderation/bans",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:banned_users", "user:bot"],
supports_pagination: false,
};
declare_generated_endpoint!(BanUserRequest, BanUserResponse, MODERATION_BAN_USER);
pub const MODERATION_UNBAN_USER: HelixEndpoint = HelixEndpoint {
id: "moderation_unban_user",
group: "Moderation",
name: "Unban User",
description: "Removes the ban or timeout that was placed on the specified user.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/moderation/bans",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:banned_users", "user:bot"],
supports_pagination: false,
};
declare_generated_endpoint!(UnbanUserRequest, UnbanUserResponse, MODERATION_UNBAN_USER);
pub const MODERATION_GET_UNBAN_REQUESTS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_unban_requests",
group: "Moderation",
name: "Get Unban Requests",
description: "Gets a list of unban requests for a broadcaster’s channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/unban_requests",
auth_kind: HelixAuthKind::User,
scopes: &[
"moderator:manage:unban_requests",
"moderator:read:unban_requests",
],
supports_pagination: true,
};
declare_generated_endpoint!(
GetUnbanRequestsRequest,
GetUnbanRequestsResponse,
MODERATION_GET_UNBAN_REQUESTS
);
pub const MODERATION_RESOLVE_UNBAN_REQUESTS: HelixEndpoint = HelixEndpoint {
id: "moderation_resolve_unban_requests",
group: "Moderation",
name: "Resolve Unban Requests",
description: "Resolves an unban request by approving or denying it.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/moderation/unban_requests",
auth_kind: HelixAuthKind::User,
scopes: &["moderator:manage:unban_requests"],
supports_pagination: true,
};
declare_generated_endpoint!(
ResolveUnbanRequestsRequest,
ResolveUnbanRequestsResponse,
MODERATION_RESOLVE_UNBAN_REQUESTS
);
pub const MODERATION_GET_BLOCKED_TERMS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_blocked_terms",
group: "Moderation",
name: "Get Blocked Terms",
description: "Gets the broadcaster’s list of non-private, blocked words or phrases.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/blocked_terms",
auth_kind: HelixAuthKind::Either,
scopes: &[
"moderator:manage:blocked_terms",
"moderator:read:blocked_terms",
],
supports_pagination: true,
};
declare_generated_endpoint!(
GetBlockedTermsRequest,
GetBlockedTermsResponse,
MODERATION_GET_BLOCKED_TERMS
);
pub const MODERATION_ADD_BLOCKED_TERM: HelixEndpoint = HelixEndpoint {
id: "moderation_add_blocked_term",
group: "Moderation",
name: "Add Blocked Term",
description: "Adds a word or phrase to the broadcaster’s list of blocked terms.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/moderation/blocked_terms",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:blocked_terms"],
supports_pagination: true,
};
declare_generated_endpoint!(
AddBlockedTermRequest,
AddBlockedTermResponse,
MODERATION_ADD_BLOCKED_TERM
);
pub const MODERATION_REMOVE_BLOCKED_TERM: HelixEndpoint = HelixEndpoint {
id: "moderation_remove_blocked_term",
group: "Moderation",
name: "Remove Blocked Term",
description: "Removes the word or phrase from the broadcaster’s list of blocked terms.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/moderation/blocked_terms",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:blocked_terms"],
supports_pagination: false,
};
declare_generated_endpoint!(
RemoveBlockedTermRequest,
RemoveBlockedTermResponse,
MODERATION_REMOVE_BLOCKED_TERM
);
pub const MODERATION_DELETE_CHAT_MESSAGES: HelixEndpoint = HelixEndpoint {
id: "moderation_delete_chat_messages",
group: "Moderation",
name: "Delete Chat Messages",
description: "Removes a single chat message or all chat messages from the broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/moderation/chat",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:chat_messages"],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteChatMessagesRequest,
DeleteChatMessagesResponse,
MODERATION_DELETE_CHAT_MESSAGES
);
pub const MODERATION_GET_MODERATED_CHANNELS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_moderated_channels",
group: "Moderation",
name: "Get Moderated Channels",
description: "Gets a list of channels that the specified user has moderator privileges in.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/channels",
auth_kind: HelixAuthKind::Either,
scopes: &["user:read:moderated_channels"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetModeratedChannelsRequest,
GetModeratedChannelsResponse,
MODERATION_GET_MODERATED_CHANNELS
);
pub const MODERATION_GET_MODERATORS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_moderators",
group: "Moderation",
name: "Get Moderators",
description: "Gets all users allowed to moderate the broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/moderators",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:moderators", "moderation:read"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetModeratorsRequest,
GetModeratorsResponse,
MODERATION_GET_MODERATORS
);
pub const MODERATION_ADD_CHANNEL_MODERATOR: HelixEndpoint = HelixEndpoint {
id: "moderation_add_channel_moderator",
group: "Moderation",
name: "Add Channel Moderator",
description: "Adds a moderator to the broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/moderation/moderators",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:moderators"],
supports_pagination: false,
};
declare_generated_endpoint!(
AddChannelModeratorRequest,
AddChannelModeratorResponse,
MODERATION_ADD_CHANNEL_MODERATOR
);
pub const MODERATION_REMOVE_CHANNEL_MODERATOR: HelixEndpoint = HelixEndpoint {
id: "moderation_remove_channel_moderator",
group: "Moderation",
name: "Remove Channel Moderator",
description: "Removes a moderator from the broadcaster’s chat room.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/moderation/moderators",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:moderators"],
supports_pagination: false,
};
declare_generated_endpoint!(
RemoveChannelModeratorRequest,
RemoveChannelModeratorResponse,
MODERATION_REMOVE_CHANNEL_MODERATOR
);
pub const MODERATION_GET_VIPS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_vips",
group: "Moderation",
name: "Get VIPs",
description: "Gets a list of the broadcaster’s VIPs.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/channels/vips",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:vips", "channel:read:vips"],
supports_pagination: true,
};
declare_generated_endpoint!(GetVipsRequest, GetVipsResponse, MODERATION_GET_VIPS);
pub const MODERATION_ADD_CHANNEL_VIP: HelixEndpoint = HelixEndpoint {
id: "moderation_add_channel_vip",
group: "Moderation",
name: "Add Channel VIP",
description: "Adds the specified user as a VIP in the broadcaster’s channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/channels/vips",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:vips"],
supports_pagination: true,
};
declare_generated_endpoint!(
AddChannelVipRequest,
AddChannelVipResponse,
MODERATION_ADD_CHANNEL_VIP
);
pub const MODERATION_REMOVE_CHANNEL_VIP: HelixEndpoint = HelixEndpoint {
id: "moderation_remove_channel_vip",
group: "Moderation",
name: "Remove Channel VIP",
description: "Removes the specified user as a VIP in the broadcaster’s channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/channels/vips",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:vips"],
supports_pagination: false,
};
declare_generated_endpoint!(
RemoveChannelVipRequest,
RemoveChannelVipResponse,
MODERATION_REMOVE_CHANNEL_VIP
);
pub const MODERATION_UPDATE_SHIELD_MODE_STATUS: HelixEndpoint = HelixEndpoint {
id: "moderation_update_shield_mode_status",
group: "Moderation",
name: "Update Shield Mode Status",
description: "Activates or deactivates the broadcaster’s Shield Mode.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/moderation/shield_mode",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:shield_mode"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateShieldModeStatusRequest,
UpdateShieldModeStatusResponse,
MODERATION_UPDATE_SHIELD_MODE_STATUS
);
pub const MODERATION_GET_SHIELD_MODE_STATUS: HelixEndpoint = HelixEndpoint {
id: "moderation_get_shield_mode_status",
group: "Moderation",
name: "Get Shield Mode Status",
description: "Gets the broadcaster’s Shield Mode activation status.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/moderation/shield_mode",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:shield_mode", "moderator:read:shield_mode"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetShieldModeStatusRequest,
GetShieldModeStatusResponse,
MODERATION_GET_SHIELD_MODE_STATUS
);
pub const MODERATION_WARN_CHAT_USER: HelixEndpoint = HelixEndpoint {
id: "moderation_warn_chat_user",
group: "Moderation",
name: "Warn Chat User",
description: "Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/moderation/warnings",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:warnings"],
supports_pagination: false,
};
declare_generated_endpoint!(
WarnChatUserRequest,
WarnChatUserResponse,
MODERATION_WARN_CHAT_USER
);
pub const MODERATION_ADD_SUSPICIOUS_STATUS_TO_CHAT_USER: HelixEndpoint = HelixEndpoint {
id: "moderation_add_suspicious_status_to_chat_user",
group: "Moderation",
name: "Add Suspicious Status to Chat User",
description: "NEW Adds a suspicious user status to a chatter on the broadcaster’s channel.",
stability: EndpointStability::New,
method: HttpMethod::Post,
path: "/moderation/suspicious_users",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:suspicious_users"],
supports_pagination: false,
};
declare_generated_endpoint!(
AddSuspiciousStatusToChatUserRequest,
AddSuspiciousStatusToChatUserResponse,
MODERATION_ADD_SUSPICIOUS_STATUS_TO_CHAT_USER
);
pub const MODERATION_REMOVE_SUSPICIOUS_STATUS_FROM_CHAT_USER: HelixEndpoint = HelixEndpoint {
id: "moderation_remove_suspicious_status_from_chat_user",
group: "Moderation",
name: "Remove Suspicious Status From Chat User",
description: "NEW Remove a suspicious user status from a chatter on broadcaster’s channel.",
stability: EndpointStability::New,
method: HttpMethod::Delete,
path: "/moderation/suspicious_users",
auth_kind: HelixAuthKind::Either,
scopes: &["moderator:manage:suspicious_users"],
supports_pagination: false,
};
declare_generated_endpoint!(
RemoveSuspiciousStatusFromChatUserRequest,
RemoveSuspiciousStatusFromChatUserResponse,
MODERATION_REMOVE_SUSPICIOUS_STATUS_FROM_CHAT_USER
);
}
pub mod polls {
use super::*;
pub const POLLS_GET_POLLS: HelixEndpoint = HelixEndpoint {
id: "polls_get_polls",
group: "Polls",
name: "Get Polls",
description: "Gets a list of polls that the broadcaster created.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/polls",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:polls", "channel:read:polls"],
supports_pagination: true,
};
declare_generated_endpoint!(GetPollsRequest, GetPollsResponse, POLLS_GET_POLLS);
pub const POLLS_CREATE_POLL: HelixEndpoint = HelixEndpoint {
id: "polls_create_poll",
group: "Polls",
name: "Create Poll",
description: "Creates a poll that viewers in the broadcaster’s channel can vote on.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/polls",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:polls"],
supports_pagination: true,
};
declare_generated_endpoint!(CreatePollRequest, CreatePollResponse, POLLS_CREATE_POLL);
pub const POLLS_END_POLL: HelixEndpoint = HelixEndpoint {
id: "polls_end_poll",
group: "Polls",
name: "End Poll",
description: "End an active poll.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/polls",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:polls"],
supports_pagination: true,
};
declare_generated_endpoint!(EndPollRequest, EndPollResponse, POLLS_END_POLL);
}
pub mod predictions {
use super::*;
pub const PREDICTIONS_GET_PREDICTIONS: HelixEndpoint = HelixEndpoint {
id: "predictions_get_predictions",
group: "Predictions",
name: "Get Predictions",
description: "Gets a list of Channel Points Predictions that the broadcaster created.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/predictions",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:predictions", "channel:read:predictions"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetPredictionsRequest,
GetPredictionsResponse,
PREDICTIONS_GET_PREDICTIONS
);
pub const PREDICTIONS_CREATE_PREDICTION: HelixEndpoint = HelixEndpoint {
id: "predictions_create_prediction",
group: "Predictions",
name: "Create Prediction",
description: "Create a Channel Points Prediction.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/predictions",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:predictions"],
supports_pagination: false,
};
declare_generated_endpoint!(
CreatePredictionRequest,
CreatePredictionResponse,
PREDICTIONS_CREATE_PREDICTION
);
pub const PREDICTIONS_END_PREDICTION: HelixEndpoint = HelixEndpoint {
id: "predictions_end_prediction",
group: "Predictions",
name: "End Prediction",
description: "Locks, resolves, or cancels a Channel Points Prediction.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/predictions",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:predictions"],
supports_pagination: true,
};
declare_generated_endpoint!(
EndPredictionRequest,
EndPredictionResponse,
PREDICTIONS_END_PREDICTION
);
}
pub mod raids {
use super::*;
pub const RAIDS_START_A_RAID: HelixEndpoint = HelixEndpoint {
id: "raids_start_a_raid",
group: "Raids",
name: "Start a raid",
description: "Raid another channel by sending the broadcaster’s viewers to the targeted channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/raids",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:raids"],
supports_pagination: true,
};
declare_generated_endpoint!(StartARaidRequest, StartARaidResponse, RAIDS_START_A_RAID);
pub const RAIDS_CANCEL_A_RAID: HelixEndpoint = HelixEndpoint {
id: "raids_cancel_a_raid",
group: "Raids",
name: "Cancel a raid",
description: "Cancel a pending raid.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/raids",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:raids"],
supports_pagination: false,
};
declare_generated_endpoint!(CancelARaidRequest, CancelARaidResponse, RAIDS_CANCEL_A_RAID);
}
pub mod schedule {
use super::*;
pub const SCHEDULE_GET_CHANNEL_STREAM_SCHEDULE: HelixEndpoint = HelixEndpoint {
id: "schedule_get_channel_stream_schedule",
group: "Schedule",
name: "Get Channel Stream Schedule",
description: "Gets the broadcaster’s streaming schedule.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/schedule",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetChannelStreamScheduleRequest,
GetChannelStreamScheduleResponse,
SCHEDULE_GET_CHANNEL_STREAM_SCHEDULE
);
pub const SCHEDULE_GET_CHANNEL_ICALENDAR: HelixEndpoint = HelixEndpoint {
id: "schedule_get_channel_icalendar",
group: "Schedule",
name: "Get Channel iCalendar",
description: "Gets the broadcaster’s streaming schedule as an iCalendar.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/schedule/icalendar",
auth_kind: HelixAuthKind::Custom,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelIcalendarRequest,
GetChannelIcalendarResponse,
SCHEDULE_GET_CHANNEL_ICALENDAR
);
pub const SCHEDULE_UPDATE_CHANNEL_STREAM_SCHEDULE: HelixEndpoint = HelixEndpoint {
id: "schedule_update_channel_stream_schedule",
group: "Schedule",
name: "Update Channel Stream Schedule",
description: "Updates the broadcaster’s schedule settings, such as scheduling a vacation.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/schedule/settings",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:schedule"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateChannelStreamScheduleRequest,
UpdateChannelStreamScheduleResponse,
SCHEDULE_UPDATE_CHANNEL_STREAM_SCHEDULE
);
pub const SCHEDULE_CREATE_CHANNEL_STREAM_SCHEDULE_SEGMENT: HelixEndpoint = HelixEndpoint {
id: "schedule_create_channel_stream_schedule_segment",
group: "Schedule",
name: "Create Channel Stream Schedule Segment",
description: "Adds a single or recurring broadcast to the broadcaster’s streaming schedule.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/schedule/segment",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:schedule"],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateChannelStreamScheduleSegmentRequest,
CreateChannelStreamScheduleSegmentResponse,
SCHEDULE_CREATE_CHANNEL_STREAM_SCHEDULE_SEGMENT
);
pub const SCHEDULE_UPDATE_CHANNEL_STREAM_SCHEDULE_SEGMENT: HelixEndpoint = HelixEndpoint {
id: "schedule_update_channel_stream_schedule_segment",
group: "Schedule",
name: "Update Channel Stream Schedule Segment",
description: "Updates a scheduled broadcast segment.",
stability: EndpointStability::Ga,
method: HttpMethod::Patch,
path: "/schedule/segment",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:schedule"],
supports_pagination: true,
};
declare_generated_endpoint!(
UpdateChannelStreamScheduleSegmentRequest,
UpdateChannelStreamScheduleSegmentResponse,
SCHEDULE_UPDATE_CHANNEL_STREAM_SCHEDULE_SEGMENT
);
pub const SCHEDULE_DELETE_CHANNEL_STREAM_SCHEDULE_SEGMENT: HelixEndpoint = HelixEndpoint {
id: "schedule_delete_channel_stream_schedule_segment",
group: "Schedule",
name: "Delete Channel Stream Schedule Segment",
description: "Deletes a broadcast from the broadcaster’s streaming schedule.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/schedule/segment",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:schedule"],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteChannelStreamScheduleSegmentRequest,
DeleteChannelStreamScheduleSegmentResponse,
SCHEDULE_DELETE_CHANNEL_STREAM_SCHEDULE_SEGMENT
);
}
pub mod search {
use super::*;
pub const SEARCH_SEARCH_CATEGORIES: HelixEndpoint = HelixEndpoint {
id: "search_search_categories",
group: "Search",
name: "Search Categories",
description: "Gets the games or categories that match the specified query.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/search/categories",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
SearchCategoriesRequest,
SearchCategoriesResponse,
SEARCH_SEARCH_CATEGORIES
);
pub const SEARCH_SEARCH_CHANNELS: HelixEndpoint = HelixEndpoint {
id: "search_search_channels",
group: "Search",
name: "Search Channels",
description: "Gets the channels that match the specified query and have streamed content within the past 6 months.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/search/channels",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
SearchChannelsRequest,
SearchChannelsResponse,
SEARCH_SEARCH_CHANNELS
);
}
pub mod streams {
use super::*;
pub const STREAMS_GET_STREAM_KEY: HelixEndpoint = HelixEndpoint {
id: "streams_get_stream_key",
group: "Streams",
name: "Get Stream Key",
description: "Gets the channel’s stream key.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/get-stream-key",
auth_kind: HelixAuthKind::User,
scopes: &["channel:read:stream_key"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetStreamKeyRequest,
GetStreamKeyResponse,
STREAMS_GET_STREAM_KEY
);
pub const STREAMS_GET_STREAMS: HelixEndpoint = HelixEndpoint {
id: "streams_get_streams",
group: "Streams",
name: "Get Streams",
description: "Gets a list of all streams.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/streams",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(GetStreamsRequest, GetStreamsResponse, STREAMS_GET_STREAMS);
pub const STREAMS_GET_FOLLOWED_STREAMS: HelixEndpoint = HelixEndpoint {
id: "streams_get_followed_streams",
group: "Streams",
name: "Get Followed Streams",
description: "Gets the list of broadcasters that the user follows and that are streaming live.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/streams/followed",
auth_kind: HelixAuthKind::User,
scopes: &["user:read:follows"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetFollowedStreamsRequest,
GetFollowedStreamsResponse,
STREAMS_GET_FOLLOWED_STREAMS
);
pub const STREAMS_CREATE_STREAM_MARKER: HelixEndpoint = HelixEndpoint {
id: "streams_create_stream_marker",
group: "Streams",
name: "Create Stream Marker",
description: "Adds a marker to a live stream.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/streams/markers",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:broadcast"],
supports_pagination: false,
};
declare_generated_endpoint!(
CreateStreamMarkerRequest,
CreateStreamMarkerResponse,
STREAMS_CREATE_STREAM_MARKER
);
pub const STREAMS_GET_STREAM_MARKERS: HelixEndpoint = HelixEndpoint {
id: "streams_get_stream_markers",
group: "Streams",
name: "Get Stream Markers",
description: "Gets a list of markers from the user’s most recent stream or from the specified VOD/video.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/streams/markers",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:broadcast", "user:read:broadcast"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetStreamMarkersRequest,
GetStreamMarkersResponse,
STREAMS_GET_STREAM_MARKERS
);
}
pub mod subscriptions {
use super::*;
pub const SUBSCRIPTIONS_GET_BROADCASTER_SUBSCRIPTIONS: HelixEndpoint = HelixEndpoint {
id: "subscriptions_get_broadcaster_subscriptions",
group: "Subscriptions",
name: "Get Broadcaster Subscriptions",
description: "Gets a list of users that subscribe to the specified broadcaster.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/subscriptions",
auth_kind: HelixAuthKind::Either,
scopes: &["channel:read:subscriptions"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetBroadcasterSubscriptionsRequest,
GetBroadcasterSubscriptionsResponse,
SUBSCRIPTIONS_GET_BROADCASTER_SUBSCRIPTIONS
);
pub const SUBSCRIPTIONS_CHECK_USER_SUBSCRIPTION: HelixEndpoint = HelixEndpoint {
id: "subscriptions_check_user_subscription",
group: "Subscriptions",
name: "Check User Subscription",
description: "Checks whether the user subscribes to the broadcaster’s channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/subscriptions/user",
auth_kind: HelixAuthKind::Either,
scopes: &["user:read:subscriptions"],
supports_pagination: false,
};
declare_generated_endpoint!(
CheckUserSubscriptionRequest,
CheckUserSubscriptionResponse,
SUBSCRIPTIONS_CHECK_USER_SUBSCRIPTION
);
}
pub mod tags {
use super::*;
pub const TAGS_GET_ALL_STREAM_TAGS: HelixEndpoint = HelixEndpoint {
id: "tags_get_all_stream_tags",
group: "Tags",
name: "Get All Stream Tags",
description: "Gets the list of all stream tags that Twitch defines. You can also filter the list by one or more tag IDs.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/tags/streams",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(
GetAllStreamTagsRequest,
GetAllStreamTagsResponse,
TAGS_GET_ALL_STREAM_TAGS
);
pub const TAGS_GET_STREAM_TAGS: HelixEndpoint = HelixEndpoint {
id: "tags_get_stream_tags",
group: "Tags",
name: "Get Stream Tags",
description: "Gets the list of stream tags that the broadcaster or Twitch added to their channel.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/streams/tags",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetStreamTagsRequest,
GetStreamTagsResponse,
TAGS_GET_STREAM_TAGS
);
}
pub mod teams {
use super::*;
pub const TEAMS_GET_CHANNEL_TEAMS: HelixEndpoint = HelixEndpoint {
id: "teams_get_channel_teams",
group: "Teams",
name: "Get Channel Teams",
description: "Gets the list of Twitch teams that the broadcaster is a member of.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/teams/channel",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetChannelTeamsRequest,
GetChannelTeamsResponse,
TEAMS_GET_CHANNEL_TEAMS
);
pub const TEAMS_GET_TEAMS: HelixEndpoint = HelixEndpoint {
id: "teams_get_teams",
group: "Teams",
name: "Get Teams",
description: "Gets information about the specified Twitch team.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/teams",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(GetTeamsRequest, GetTeamsResponse, TEAMS_GET_TEAMS);
}
pub mod users {
use super::*;
pub const USERS_GET_USERS: HelixEndpoint = HelixEndpoint {
id: "users_get_users",
group: "Users",
name: "Get Users",
description: "Gets information about one or more users.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/users",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(GetUsersRequest, GetUsersResponse, USERS_GET_USERS);
pub const USERS_UPDATE_USER: HelixEndpoint = HelixEndpoint {
id: "users_update_user",
group: "Users",
name: "Update User",
description: "Updates the user’s information.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/users",
auth_kind: HelixAuthKind::User,
scopes: &["user:edit"],
supports_pagination: false,
};
declare_generated_endpoint!(UpdateUserRequest, UpdateUserResponse, USERS_UPDATE_USER);
pub const USERS_GET_AUTHORIZATION_BY_USER: HelixEndpoint = HelixEndpoint {
id: "users_get_authorization_by_user",
group: "Users",
name: "Get Authorization By User",
description: "NEW Gets the authorization scopes that the specified user has granted the application.",
stability: EndpointStability::New,
method: HttpMethod::Get,
path: "/authorization/users",
auth_kind: HelixAuthKind::App,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetAuthorizationByUserRequest,
GetAuthorizationByUserResponse,
USERS_GET_AUTHORIZATION_BY_USER
);
pub const USERS_GET_USER_BLOCK_LIST: HelixEndpoint = HelixEndpoint {
id: "users_get_user_block_list",
group: "Users",
name: "Get User Block List",
description: "Gets the list of users that the broadcaster has blocked.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/users/blocks",
auth_kind: HelixAuthKind::User,
scopes: &["user:read:blocked_users"],
supports_pagination: true,
};
declare_generated_endpoint!(
GetUserBlockListRequest,
GetUserBlockListResponse,
USERS_GET_USER_BLOCK_LIST
);
pub const USERS_BLOCK_USER: HelixEndpoint = HelixEndpoint {
id: "users_block_user",
group: "Users",
name: "Block User",
description: "Blocks the specified user from interacting with or having contact with the broadcaster.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/users/blocks",
auth_kind: HelixAuthKind::User,
scopes: &["user:manage:blocked_users"],
supports_pagination: false,
};
declare_generated_endpoint!(BlockUserRequest, BlockUserResponse, USERS_BLOCK_USER);
pub const USERS_UNBLOCK_USER: HelixEndpoint = HelixEndpoint {
id: "users_unblock_user",
group: "Users",
name: "Unblock User",
description: "Removes the user from the broadcaster’s list of blocked users.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/users/blocks",
auth_kind: HelixAuthKind::User,
scopes: &["user:manage:blocked_users"],
supports_pagination: false,
};
declare_generated_endpoint!(UnblockUserRequest, UnblockUserResponse, USERS_UNBLOCK_USER);
pub const USERS_GET_USER_EXTENSIONS: HelixEndpoint = HelixEndpoint {
id: "users_get_user_extensions",
group: "Users",
name: "Get User Extensions",
description: "Gets a list of all extensions (both active and inactive) that the broadcaster has installed.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/users/extensions/list",
auth_kind: HelixAuthKind::User,
scopes: &["user:edit:broadcast", "user:read:broadcast"],
supports_pagination: false,
};
declare_generated_endpoint!(
GetUserExtensionsRequest,
GetUserExtensionsResponse,
USERS_GET_USER_EXTENSIONS
);
pub const USERS_GET_USER_ACTIVE_EXTENSIONS: HelixEndpoint = HelixEndpoint {
id: "users_get_user_active_extensions",
group: "Users",
name: "Get User Active Extensions",
description: "Gets the active extensions that the broadcaster has installed for each configuration.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/users/extensions",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: false,
};
declare_generated_endpoint!(
GetUserActiveExtensionsRequest,
GetUserActiveExtensionsResponse,
USERS_GET_USER_ACTIVE_EXTENSIONS
);
pub const USERS_UPDATE_USER_EXTENSIONS: HelixEndpoint = HelixEndpoint {
id: "users_update_user_extensions",
group: "Users",
name: "Update User Extensions",
description: "Updates an installed extension’s information.",
stability: EndpointStability::Ga,
method: HttpMethod::Put,
path: "/users/extensions",
auth_kind: HelixAuthKind::User,
scopes: &["user:edit:broadcast"],
supports_pagination: false,
};
declare_generated_endpoint!(
UpdateUserExtensionsRequest,
UpdateUserExtensionsResponse,
USERS_UPDATE_USER_EXTENSIONS
);
}
pub mod videos {
use super::*;
pub const VIDEOS_GET_VIDEOS: HelixEndpoint = HelixEndpoint {
id: "videos_get_videos",
group: "Videos",
name: "Get Videos",
description: "Gets information about one or more published videos.",
stability: EndpointStability::Ga,
method: HttpMethod::Get,
path: "/videos",
auth_kind: HelixAuthKind::Either,
scopes: &[],
supports_pagination: true,
};
declare_generated_endpoint!(GetVideosRequest, GetVideosResponse, VIDEOS_GET_VIDEOS);
pub const VIDEOS_DELETE_VIDEOS: HelixEndpoint = HelixEndpoint {
id: "videos_delete_videos",
group: "Videos",
name: "Delete Videos",
description: "Deletes one or more videos.",
stability: EndpointStability::Ga,
method: HttpMethod::Delete,
path: "/videos",
auth_kind: HelixAuthKind::User,
scopes: &["channel:manage:videos"],
supports_pagination: false,
};
declare_generated_endpoint!(
DeleteVideosRequest,
DeleteVideosResponse,
VIDEOS_DELETE_VIDEOS
);
}
pub mod whispers {
use super::*;
pub const WHISPERS_SEND_WHISPER: HelixEndpoint = HelixEndpoint {
id: "whispers_send_whisper",
group: "Whispers",
name: "Send Whisper",
description: "Sends a whisper message to the specified user.",
stability: EndpointStability::Ga,
method: HttpMethod::Post,
path: "/whispers",
auth_kind: HelixAuthKind::User,
scopes: &["user:manage:whispers"],
supports_pagination: false,
};
declare_generated_endpoint!(
SendWhisperRequest,
SendWhisperResponse,
WHISPERS_SEND_WHISPER
);
}
pub static ALL_ENDPOINTS: &[&HelixEndpoint] = &[
&ads::ADS_START_COMMERCIAL,
&ads::ADS_GET_AD_SCHEDULE,
&ads::ADS_SNOOZE_NEXT_AD,
&analytics::ANALYTICS_GET_EXTENSION_ANALYTICS,
&analytics::ANALYTICS_GET_GAME_ANALYTICS,
&bits::BITS_GET_BITS_LEADERBOARD,
&bits::BITS_GET_CHEERMOTES,
&bits::BITS_GET_EXTENSION_TRANSACTIONS,
&channels::CHANNELS_GET_CHANNEL_INFORMATION,
&channels::CHANNELS_MODIFY_CHANNEL_INFORMATION,
&channels::CHANNELS_GET_CHANNEL_EDITORS,
&channels::CHANNELS_GET_FOLLOWED_CHANNELS,
&channels::CHANNELS_GET_CHANNEL_FOLLOWERS,
&channel_points::CHANNEL_POINTS_CREATE_CUSTOM_REWARDS,
&channel_points::CHANNEL_POINTS_DELETE_CUSTOM_REWARD,
&channel_points::CHANNEL_POINTS_GET_CUSTOM_REWARD,
&channel_points::CHANNEL_POINTS_GET_CUSTOM_REWARD_REDEMPTION,
&channel_points::CHANNEL_POINTS_UPDATE_CUSTOM_REWARD,
&channel_points::CHANNEL_POINTS_UPDATE_REDEMPTION_STATUS,
&charity::CHARITY_GET_CHARITY_CAMPAIGN,
&charity::CHARITY_GET_CHARITY_CAMPAIGN_DONATIONS,
&chat::CHAT_GET_CHATTERS,
&chat::CHAT_GET_CHANNEL_EMOTES,
&chat::CHAT_GET_GLOBAL_EMOTES,
&chat::CHAT_GET_EMOTE_SETS,
&chat::CHAT_GET_CHANNEL_CHAT_BADGES,
&chat::CHAT_GET_GLOBAL_CHAT_BADGES,
&chat::CHAT_GET_CHAT_SETTINGS,
&chat::CHAT_GET_SHARED_CHAT_SESSION,
&chat::CHAT_GET_USER_EMOTES,
&chat::CHAT_UPDATE_CHAT_SETTINGS,
&chat::CHAT_SEND_CHAT_ANNOUNCEMENT,
&chat::CHAT_SEND_A_SHOUTOUT,
&chat::CHAT_SEND_CHAT_MESSAGE,
&chat::CHAT_GET_USER_CHAT_COLOR,
&chat::CHAT_UPDATE_USER_CHAT_COLOR,
&clips::CLIPS_CREATE_CLIP,
&clips::CLIPS_CREATE_CLIP_FROM_VOD,
&clips::CLIPS_GET_CLIPS,
&clips::CLIPS_GET_CLIPS_DOWNLOAD,
&conduits::CONDUITS_GET_CONDUITS,
&conduits::CONDUITS_CREATE_CONDUITS,
&conduits::CONDUITS_UPDATE_CONDUITS,
&conduits::CONDUITS_DELETE_CONDUIT,
&conduits::CONDUITS_GET_CONDUIT_SHARDS,
&conduits::CONDUITS_UPDATE_CONDUIT_SHARDS,
&ccls::CCLS_GET_CONTENT_CLASSIFICATION_LABELS,
&entitlements::ENTITLEMENTS_GET_DROPS_ENTITLEMENTS,
&entitlements::ENTITLEMENTS_UPDATE_DROPS_ENTITLEMENTS,
&extensions::EXTENSIONS_GET_EXTENSION_CONFIGURATION_SEGMENT,
&extensions::EXTENSIONS_SET_EXTENSION_CONFIGURATION_SEGMENT,
&extensions::EXTENSIONS_SET_EXTENSION_REQUIRED_CONFIGURATION,
&extensions::EXTENSIONS_SEND_EXTENSION_PUBSUB_MESSAGE,
&extensions::EXTENSIONS_GET_EXTENSION_LIVE_CHANNELS,
&extensions::EXTENSIONS_GET_EXTENSION_SECRETS,
&extensions::EXTENSIONS_CREATE_EXTENSION_SECRET,
&extensions::EXTENSIONS_SEND_EXTENSION_CHAT_MESSAGE,
&extensions::EXTENSIONS_GET_EXTENSIONS,
&extensions::EXTENSIONS_GET_RELEASED_EXTENSIONS,
&extensions::EXTENSIONS_GET_EXTENSION_BITS_PRODUCTS,
&extensions::EXTENSIONS_UPDATE_EXTENSION_BITS_PRODUCT,
&eventsub::EVENTSUB_CREATE_EVENTSUB_SUBSCRIPTION,
&eventsub::EVENTSUB_DELETE_EVENTSUB_SUBSCRIPTION,
&eventsub::EVENTSUB_GET_EVENTSUB_SUBSCRIPTIONS,
&games::GAMES_GET_TOP_GAMES,
&games::GAMES_GET_GAMES,
&goals::GOALS_GET_CREATOR_GOALS,
&guest_star::GUEST_STAR_GET_CHANNEL_GUEST_STAR_SETTINGS,
&guest_star::GUEST_STAR_UPDATE_CHANNEL_GUEST_STAR_SETTINGS,
&guest_star::GUEST_STAR_GET_GUEST_STAR_SESSION,
&guest_star::GUEST_STAR_CREATE_GUEST_STAR_SESSION,
&guest_star::GUEST_STAR_END_GUEST_STAR_SESSION,
&guest_star::GUEST_STAR_GET_GUEST_STAR_INVITES,
&guest_star::GUEST_STAR_SEND_GUEST_STAR_INVITE,
&guest_star::GUEST_STAR_DELETE_GUEST_STAR_INVITE,
&guest_star::GUEST_STAR_ASSIGN_GUEST_STAR_SLOT,
&guest_star::GUEST_STAR_UPDATE_GUEST_STAR_SLOT,
&guest_star::GUEST_STAR_DELETE_GUEST_STAR_SLOT,
&guest_star::GUEST_STAR_UPDATE_GUEST_STAR_SLOT_SETTINGS,
&hype_train::HYPE_TRAIN_GET_HYPE_TRAIN_STATUS,
&moderation::MODERATION_CHECK_AUTOMOD_STATUS,
&moderation::MODERATION_MANAGE_HELD_AUTOMOD_MESSAGES,
&moderation::MODERATION_GET_AUTOMOD_SETTINGS,
&moderation::MODERATION_UPDATE_AUTOMOD_SETTINGS,
&moderation::MODERATION_GET_BANNED_USERS,
&moderation::MODERATION_BAN_USER,
&moderation::MODERATION_UNBAN_USER,
&moderation::MODERATION_GET_UNBAN_REQUESTS,
&moderation::MODERATION_RESOLVE_UNBAN_REQUESTS,
&moderation::MODERATION_GET_BLOCKED_TERMS,
&moderation::MODERATION_ADD_BLOCKED_TERM,
&moderation::MODERATION_REMOVE_BLOCKED_TERM,
&moderation::MODERATION_DELETE_CHAT_MESSAGES,
&moderation::MODERATION_GET_MODERATED_CHANNELS,
&moderation::MODERATION_GET_MODERATORS,
&moderation::MODERATION_ADD_CHANNEL_MODERATOR,
&moderation::MODERATION_REMOVE_CHANNEL_MODERATOR,
&moderation::MODERATION_GET_VIPS,
&moderation::MODERATION_ADD_CHANNEL_VIP,
&moderation::MODERATION_REMOVE_CHANNEL_VIP,
&moderation::MODERATION_UPDATE_SHIELD_MODE_STATUS,
&moderation::MODERATION_GET_SHIELD_MODE_STATUS,
&moderation::MODERATION_WARN_CHAT_USER,
&moderation::MODERATION_ADD_SUSPICIOUS_STATUS_TO_CHAT_USER,
&moderation::MODERATION_REMOVE_SUSPICIOUS_STATUS_FROM_CHAT_USER,
&polls::POLLS_GET_POLLS,
&polls::POLLS_CREATE_POLL,
&polls::POLLS_END_POLL,
&predictions::PREDICTIONS_GET_PREDICTIONS,
&predictions::PREDICTIONS_CREATE_PREDICTION,
&predictions::PREDICTIONS_END_PREDICTION,
&raids::RAIDS_START_A_RAID,
&raids::RAIDS_CANCEL_A_RAID,
&schedule::SCHEDULE_GET_CHANNEL_STREAM_SCHEDULE,
&schedule::SCHEDULE_GET_CHANNEL_ICALENDAR,
&schedule::SCHEDULE_UPDATE_CHANNEL_STREAM_SCHEDULE,
&schedule::SCHEDULE_CREATE_CHANNEL_STREAM_SCHEDULE_SEGMENT,
&schedule::SCHEDULE_UPDATE_CHANNEL_STREAM_SCHEDULE_SEGMENT,
&schedule::SCHEDULE_DELETE_CHANNEL_STREAM_SCHEDULE_SEGMENT,
&search::SEARCH_SEARCH_CATEGORIES,
&search::SEARCH_SEARCH_CHANNELS,
&streams::STREAMS_GET_STREAM_KEY,
&streams::STREAMS_GET_STREAMS,
&streams::STREAMS_GET_FOLLOWED_STREAMS,
&streams::STREAMS_CREATE_STREAM_MARKER,
&streams::STREAMS_GET_STREAM_MARKERS,
&subscriptions::SUBSCRIPTIONS_GET_BROADCASTER_SUBSCRIPTIONS,
&subscriptions::SUBSCRIPTIONS_CHECK_USER_SUBSCRIPTION,
&tags::TAGS_GET_ALL_STREAM_TAGS,
&tags::TAGS_GET_STREAM_TAGS,
&teams::TEAMS_GET_CHANNEL_TEAMS,
&teams::TEAMS_GET_TEAMS,
&users::USERS_GET_USERS,
&users::USERS_UPDATE_USER,
&users::USERS_GET_AUTHORIZATION_BY_USER,
&users::USERS_GET_USER_BLOCK_LIST,
&users::USERS_BLOCK_USER,
&users::USERS_UNBLOCK_USER,
&users::USERS_GET_USER_EXTENSIONS,
&users::USERS_GET_USER_ACTIVE_EXTENSIONS,
&users::USERS_UPDATE_USER_EXTENSIONS,
&videos::VIDEOS_GET_VIDEOS,
&videos::VIDEOS_DELETE_VIDEOS,
&whispers::WHISPERS_SEND_WHISPER,
];