Skip to content

What is the difference between watchers_count and watchers in the response of GET /user/repos? #24500

Discussion options

You must be logged in to vote
termjobTest:

in this case, which one I have to use for getting the watchers of the corresponding repository?

👋 @termjobTest - Because those fields are equivalent, you can use either for your use case.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment