feat: mark guild role member counts endpoint as stable#1462
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR promotes the guild role member counts endpoint from unstable to stable status by removing @unstable tags from v10 and backporting the endpoint to v9 with full documentation.
- Removes
@unstableannotations from v10 route and type definitions - Adds the guild role member counts endpoint to v9 API with complete documentation
- Provides clear documentation explaining that the endpoint returns role ID to member count mappings, excluding the
@everyonerole
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| rest/v9/index.ts | Adds the guildRoleMemberCounts route method for accessing the endpoint |
| rest/v9/guild.ts | Defines the RESTGetAPIGuildRoleMemberCountsResult type with documentation |
| rest/v10/index.ts | Removes @unstable tag from the guildRoleMemberCounts route |
| rest/v10/guild.ts | Removes @unstable tag and adds comprehensive documentation to the result type |
| deno/rest/v9/mod.ts | Mirrors the v9 route addition for Deno runtime |
| deno/rest/v9/guild.ts | Mirrors the v9 type definition for Deno runtime |
| deno/rest/v10/mod.ts | Mirrors the v10 route stabilization for Deno runtime |
| deno/rest/v10/guild.ts | Mirrors the v10 type stabilization for Deno runtime |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jiralite
approved these changes
Dec 11, 2025
sdanialraza
approved these changes
Feb 15, 2026
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.
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR: