Upcoming access restrictions to public API endpoints and UI views - GitHub Changelog
Try GitHub Copilot CLI
Attend GitHub Universe
Search
Back to changelog
As part of our ongoing commitment to protect our users and ensure responsible use of our platform, the Notifications team will soon introduce access restrictions to several public API endpoints and related UI views.
What’s changing
Access to the following public API endpoints will be limited to admins and collaborators:
List stargazers endpoint: /repos/{owner}/{repo}/stargazers
List watchers endpoint: /repos/{owner}/{repo}/subscribers
We will deprecate the endpoint and remove access to the underlying information:
List repositories watched by a user endpoint: /users/{username}/subscriptions
During the deprecation period, the endpoint will remain accessible but will return empty responses. Full removal will occur in a subsequent phase.
The following UI views will also be affected:
Repository stargazers view: /stargazers
Repository “You Know” stargazers view: /stargazers/you_know
Repository watchers view: /watchers
Some users may begin receiving empty responses or a 403 Forbidden status when accessing the endpoints or views listed above.
Why we are making this change
These endpoints and views currently expose public lists of stargazers and watchers, and this information has increasingly been misused to collect user data for spam activities which negatively impacts user experience and platform trust.
By restricting access, we aim to reduce misuse of public data, prevent user data from being leveraged for spam, and strengthen overall platform security.
We will continue monitoring usage patterns and evaluating additional safeguards to ensure a safe and reliable environment for all users.
Related Posts
Jul.20 Release
GitHub Code Quality is now generally available
application security
Jul.15 Improvement
Improvements to secret scanning and public monitoring
application security
Jul.14 Release
Code scanning shows AI security detections on pull requests
application security
Jul.14 Improvement
Security reviews now available in the GitHub Copilot app
application security<br>copilot
...<br>+1
Jul.13 Release
Manage secret scanning custom patterns via REST API
application security
Jul.13 Release
GitHub Code Quality license estimate in public preview
account management<br>application security
...<br>+1
Jul.10 Improvement
CodeQL 2.26.0 adds Kotlin 2.4.0 support and AI prompt injection detection
application security
Jul.10 Improvement
Clearer names for secret scanning detector types
application security
Jul.10 Release
Agentic autofix for code scanning alerts in public preview
application security<br>copilot
...<br>+1
Subscribe to our developer newsletter
Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.
Enter your email*
Subscribe
By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.
Back to top
© 2026 GitHub, Inc.
Terms
Privacy
Manage Cookies
Do not share my personal information
LinkedIn icon
GitHub on LinkedIn
Instagram icon
GitHub on Instagram
YouTube icon
GitHub on YouTube
X icon
GitHub on X
TikTok icon
GitHub on TikTok
Twitch icon
GitHub on Twitch
GitHub icon
GitHub’s organization on GitHub