Skip to main content

repo_subscriptions

Overview

Namerepo_subscriptions
TypeResource
Idgithub.activity.repo_subscriptions

Fields

NameDatatypeDescription
created_atstring
ignoredbooleanDetermines if all notifications should be blocked from this repository.
reasonstring
repository_urlstring
subscribedbooleanDetermines if notifications should be received from this repository.
urlstring

Methods

NameAccessible byRequired ParamsDescription
get_repo_subscriptionSELECTowner, repoGets information about whether the authenticated user is subscribed to the repository.
delete_repo_subscriptionDELETEowner, repoThis endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, set the repository's subscription manually.
set_repo_subscriptionEXECowner, repoIf 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 completely.