Skip to content

Conversation

@Xemdo
Copy link
Contributor

@Xemdo Xemdo commented Feb 3, 2023

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Problem/Feature

A lot of changes to bring the CLI up to date with the latest version of the API.
Solves #207

Description of Changes:

  • Removed POST and DELETE from /users/follows
  • GET /bits/cheermotes now provides proper data format
  • Check AutoMod Status now no longer requires user_id field;
  • Endpoints /moderation/banned/events and /moderation/moderators/events removed
  • Get Banned Users now includes created_at field
  • Get Moderators includes channel:manager:moderators scope
  • Renamed endpoint /chat/emotes/channel to /chat/emotes;
  • /chat/emotes and its sub-endpoints now have all missing fields;
  • POST and PATCH /schedule/segment now include previously missing fields, and no longer mandate the is_reoccurring field
  • GET /teams/channels now include missing fields
  • GET /videos now has the correct field names, and generates new video descriptions and types properly
  • Added igdb_id field to endpoints /games and /games/top
  • Updated /clips fields to match latest version
  • Added updated_at field to /entitlements/drops
  • Added endpoints /charity/campaigns, /charity/donations, /chat/chatters, /chat/settings, /chat/announcements, /chat/color, /goals, /moderation/bans, /moderation/chat, /moderation/moderators, /moderation/shield_mode, /moderation/vips, /raids, /whispers, and /chat/shoutouts
  • Updated /predictions to support multiple prediction options
  • Added missing tags fields to Get Streams, Get Followed Streams, Search Channels, and Get/Modify Channel Information

Checklist

  • My code follows the Contribution Guide
  • I have self-reviewed the changes being requested
  • I have made comments on pieces of code that may be difficult to understand for other editors
  • I have updated the documentation (if applicable)

Xemdo added 10 commits January 3, 2023 19:40
…s no longer needs user_id; /moderation/banned/events and /moderation/moderators/events removed; Get Banned Users now includes created_at field; Get Moderators includes channel:manager:moderators scope
…b-endpoints now have all missing fields; POST and PATCH /schedule/segment have missing fields, and no longer mandate is_reoccurring
…eld names, and generates new video descriptions and types properly
…s, /chat/settings, /c*/announcements, /c*/color, /goals, /moderation/bans, /m*/chat, /m*/moderators, /m*/shield_mode, /m*/vips, /raids, /whispers
…fields to Get Streams, Get Followed Streams, Search Channels, and Get/Modify Channel Information; Added /chat/shoutouts
@Xemdo Xemdo linked an issue Feb 3, 2023 that may be closed by this pull request
@Xemdo Xemdo changed the title Mock api jan 23 Updating Mock API to changes as of end of January 2023 Feb 3, 2023
@Xemdo Xemdo merged commit 65b3af7 into main Feb 15, 2023
@Xemdo Xemdo deleted the mock-api-jan-23 branch February 15, 2023 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Mock API to match production Twitch API - Jan '23

2 participants