Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: promote helix moderation api methods out of beta #524

Merged
merged 1 commit into from Jan 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -366,7 +366,6 @@ HystrixCommand<EmoteList> getEmoteSets(
* @return ChatSettingsWrapper
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_CHAT_SETTINGS_READ
*/
@Unofficial // beta
@RequestLine("GET /chat/settings?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<ChatSettingsWrapper> getChatSettings(
Expand All @@ -385,7 +384,6 @@ HystrixCommand<ChatSettingsWrapper> getChatSettings(
* @return ChatSettingsWrapper
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_CHAT_SETTINGS_MANAGE
*/
@Unofficial // beta
@RequestLine("PATCH /chat/settings?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}")
@Headers({
"Authorization: Bearer {token}",
Expand Down Expand Up @@ -881,7 +879,6 @@ HystrixCommand<Void> manageAutoModHeldMessage(
* @return AutoModSettingsWrapper
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_AUTOMOD_SETTINGS_READ
*/
@Unofficial // beta
@RequestLine("GET /moderation/automod/settings?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<AutoModSettingsWrapper> getAutoModSettings(
Expand Down Expand Up @@ -914,7 +911,6 @@ HystrixCommand<AutoModSettingsWrapper> getAutoModSettings(
* @return AutoModSettingsWrapper
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_AUTOMOD_SETTINGS_MANAGE
*/
@Unofficial // beta
@RequestLine("PUT /moderation/automod/settings?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}")
@Headers({
"Authorization: Bearer {token}",
Expand Down Expand Up @@ -1007,7 +1003,6 @@ HystrixCommand<BannedEventList> getBannedEvents(
* @return BanUsersList
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_BANNED_USERS_MANAGE
*/
@Unofficial // beta
@RequestLine("POST /moderation/bans?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}")
@Headers({
"Authorization: Bearer {token}",
Expand All @@ -1031,7 +1026,6 @@ HystrixCommand<BanUsersList> banUser(
* @return 204 No Content upon a successful unban or untimeout
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_BANNED_USERS_MANAGE
*/
@Unofficial // beta
@RequestLine("DELETE /moderation/bans?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}&user_id={user_id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<Void> unbanUser(
Expand All @@ -1053,7 +1047,6 @@ HystrixCommand<Void> unbanUser(
* @return BlockedTermList
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_BLOCKED_TERMS_READ
*/
@Unofficial // beta
@RequestLine("GET /moderation/blocked_terms?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}&after={after}&first={first}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<BlockedTermList> getBlockedTerms(
Expand Down Expand Up @@ -1081,7 +1074,6 @@ HystrixCommand<BlockedTermList> getBlockedTerms(
* @return BlockedTermList
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_BLOCKED_TERMS_MANAGE
*/
@Unofficial // beta
@RequestLine("POST /moderation/blocked_terms?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}")
@Headers({
"Authorization: Bearer {token}",
Expand All @@ -1105,7 +1097,6 @@ HystrixCommand<BlockedTermList> addBlockedTerm(
* @return 204 No Content upon a successful request
* @see com.github.twitch4j.auth.domain.TwitchScopes#HELIX_BLOCKED_TERMS_MANAGE
*/
@Unofficial // beta
@RequestLine("DELETE /moderation/blocked_terms?broadcaster_id={broadcaster_id}&moderator_id={moderator_id}&id={id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<Void> removeBlockedTerm(
Expand Down