Skip to content

Watch a repo

PUT
/repos/{owner}/{repo}/subscription
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

WatchInfo

WatchInfo represents an API watch status of one repository

object
created_at
string format: date-time
ignored
boolean
reason
repository_url
string
subscribed
boolean
url
string
Example generated
{
"created_at": "2026-04-15T12:00:00Z",
"ignored": true,
"reason": "example",
"repository_url": "example",
"subscribed": true,
"url": "example"
}

APINotFound is a not found error response

object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}