Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Bug: watchers always same as stargazers_count in API /user/starred

Solved! Go to Solution.

Version: v3

API::/user/starred

URI:/user/starred?page=1&sort=created&direction=des

response:

snapshot.png

2 Replies
Solution
Community Manager
Message 2 of 3

Re: Bug: watchers always same as stargazers_count in API /user/starred

Hi @conghaonet,

 

That's expected behavior since "starring" was called "watching" in the past, so to prevent breaking applications -- that hasn't changed when starring was introduced.

https://developer.github.com/v3/activity/starring/#starring-vs-watching

 

I hope this helps!


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 3

Re: Bug: watchers always same as stargazers_count in API /user/starred

Hi @AndreaGriffiths11,

 

Thank you for your reply!