Skip to content

Commit

Permalink
chore: promote helix moderation api out of beta (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy committed Jan 29, 2022
1 parent dd728b6 commit d16a90f
Showing 1 changed file with 0 additions and 9 deletions.
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

0 comments on commit d16a90f

Please sign in to comment.