1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/content/rest/activity/watching.md
2024-02-07 15:58:29 +00:00

1.3 KiB

title, shortTitle, intro, allowTitleToDifferFromFilename, versions, topics, autogenerated
title shortTitle intro allowTitleToDifferFromFilename versions topics autogenerated
REST API endpoints for watching Watching Use the REST API to subscribe to notifications for activity in a repository. true
fpt ghae ghec ghes
* * * *
API
rest

About watching

You can use the REST API to subscribe to notifications for activity in a repository. To bookmark a repository instead, see "AUTOTITLE."

Watching versus starring

In August 2012, we changed the way watching works on {% data variables.product.prodname_dotcom %}. Some API client applications may still be using the original "watcher" endpoints for accessing this data. You should now use the "star" endpoints instead. For more information, "AUTOTITLE" and the changelog post.

In responses from the REST API, subscribers_count corresponds to the number of watchers, whereas watchers, watchers_count, and stargazers_count correspond to the number of users that have starred a repository.