Set a repository subscription
If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/[email protected]/rest/reference/activity#delete-a-repository-subscription) completely.
/repos/{owner}/{repo}/subscription- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
Body Params
optionalDetermines if all notifications should be blocked from this repository.
Determines if notifications should be received from this repository.
Responses
Response
Example: 2012-10-06T21:34:12Z
Determines if all notifications should be blocked from this repository.
Example: https://api.github.com/repos/octocat/example
Determines if notifications should be received from this repository.
Example: true
Example: https://api.github.com/repos/octocat/example/subscription