Repository navigation
Livestream docs: host_id on Mute and Unmute a Chat User - #612
Merged
Merged
Conversation
Chat moderators can pass host_id to mute or unmute in the chats of the broadcaster they moderate for, whether or not that broadcaster is live. Documents host_id on both pages and in the Livestream SKILL.md (1.4), the 400 when host_id and broadcast_id are sent together, the 403 for a host you don't moderate for, and that a request with neither field always applies to the caller's own chats. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Docs PR opened: #613 Added Dec 3 changelog entry for Livestream host_id chat moderation support. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the new optional
host_idonPOST /2/broadcasts/chat/mutes(body field) andDELETE /2/broadcasts/chat/mutes/:user_id(query parameter), which is live.host_id, the id of the broadcaster they moderate for, to mute or unmute in that host's chats whether or not the host is live. Passing thebroadcast_idof one of the host's live broadcasts still works. The pages previously said moderators must passbroadcast_idand that the broadcast must be live.host_idorbroadcast_idalways applies to the caller's own chats, so a moderator app that uses its own account has to send one of the two.host_idandbroadcast_idtogether return400. Ahost_idthat is neither the caller's own id nor a broadcaster they moderate for returns403.host_id.openapi.jsonis not touched. The live spec atapi.x.com/2/openapi.jsonalready listshost_idon both operations, so the scheduled sync will bring the parameter tables in.node .github/scripts/sync-openapi-mdx.mjs --validateandmint validate --no-build --disable unknown-componentpass.Made with Cursor