repository

Watch a repo

put/repos/{owner}/{repo}/subscription

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Response

WatchInfo

created_atstring date-time

The timestamp when the watch status was created

ignoredboolean

Whether notifications for the repository are ignored

{"stackTrail":"components:schemas:WatchInfo:properties:reason","oasType":"schema","type":"unknown","description":"The reason for the current watch status","extensionFields":{"x-go-name":"Reason"}}
repository_urlstring

The URL of the repository being watched

subscribedboolean

Whether the repository is being watched for notifications

urlstring

The URL for managing the watch status

Changes

No recorded changes to this endpoint across all 5 revisions of this API.