github / rest-api-description

An OpenAPI description for GitHub's REST API
MIT License
1.38k stars 225 forks source link

[Issue] Watchers is not pulling from the length of subscribers in `https://api.github.com/users/${owner}/starred` #3264

Open Iheuzio opened 9 months ago

Iheuzio commented 9 months ago

Code of Conduct

What article on docs.github.com is affected?

Starring

What changes are you suggesting?

Give as much detail as you can to help us understand the change you want to see.

Stargazers should be the sole star counter, watchers should use the https://api.github.com/repos/${owner}/${repoName}/subscribers length or the subscribers_count. This would solve redundant code and allow for all the other forms of the api to be easier to use with our repositories.

image In this example, the watchers should not be 80, it should be 42 (as of today).

Additional information

No response

welcome[bot] commented 9 months ago

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

nguyenalex836 commented 9 months ago

@Iheuzio Thanks for opening this issue! I'll get this triaged for review ✨

docs-bot commented 9 months ago

Thank you for opening this issue! Changes to the REST API schema can be requested in github/rest-api-description. I will transfer your issue over to that open source repo.