{"action":"opened","issue":{"url":"https://api.github.com/repos/pouchcontainer/pouchrobot/issues/4","repository_url":"https://api.github.com/repos/pouchcontainer/pouchrobot","labels_url":"https://api.github.com/repos/pouchcontainer/pouchrobot/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pouchcontainer/pouchrobot/issues/4/comments","events_url":"https://api.github.com/repos/pouchcontainer/pouchrobot/issues/4/events","html_url":"https://github.com/pouchcontainer/pouchrobot/issues/4","id":311991723,"number":4,"title":"[bug]changes to github watcher and star APIs","user":{"login":"zhuangqh","id":12205760,"avatar_url":"https://avatars0.githubusercontent.com/u/12205760?v=4","gravatar_id":"","url":"https://api.github.com/users/zhuangqh","html_url":"https://github.com/zhuangqh","followers_url":"https://api.github.com/users/zhuangqh/followers","following_url":"https://api.github.com/users/zhuangqh/following{/other_user}","gists_url":"https://api.github.com/users/zhuangqh/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuangqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuangqh/subscriptions","organizations_url":"https://api.github.com/users/zhuangqh/orgs","repos_url":"https://api.github.com/users/zhuangqh/repos","events_url":"https://api.github.com/users/zhuangqh/events{/privacy}","received_events_url":"https://api.github.com/users/zhuangqh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-06T14:13:13Z","updated_at":"2018-04-06T14:13:13Z","closed_at":null,"author_association":"NONE","body":"> We recently [changed the Watcher behavior on GitHub](https://developer.github.com/changes/2012-09-05-watcher-api/). What used to be known as \"Watching\" is now \"Starring\". Starring is basically a way to bookmark interesting repositories. Watching is a way to indicate that you want to receive email or web notifications on a Repository.\r\n\r\nAs a result, the legacy \"watcher\" endpoints continue to provide starring data for compatibility. The \"subscription\" endpoints API is used to provide access to watching data now.\r\n\r\nIn short, pouchrobot should use `repo.SubscribersCount` instead of `repo.WatchersCount` to get the **real watchers count**. `repo.WatchersCount` will be always equal to `repo.StargazersCount`.\r\n"}}
{"actor":{"display_login":"zhuangqh"}}