v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
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