JGithubPackageActivityWatching
class JGithubPackageActivityWatching extends JGithubPackage
GitHub API Activity Watching Events class for the Joomla Platform.
Methods
mixed
getList(
string $owner,
string $repo)
List watchers
mixed
getRepositories(
string $user = '')
List repositories being watched.
mixed
getSubscription(
string $owner,
string $repo)
Get a Repository Subscription.
object
setSubscription(
string $owner,
string $repo,
boolean $subscribed,
boolean $ignored)
Set a Repository Subscription.
object
deleteSubscription(
string $owner,
string $repo)
Delete a Repository Subscription.
object
check(
string $owner,
string $repo)
Check if you are watching a repository (LEGACY).
object
watch(
string $owner,
string $repo)
Watch a repository (LEGACY).
object
unwatch(
string $owner,
string $repo)
Stop watching a repository (LEGACY).
Details
mixed
getRepositories(
string $user = '')
List repositories being watched.
List repositories being watched by a user.
object
setSubscription(
string $owner,
string $repo,
boolean $subscribed,
boolean $ignored)
Set a Repository Subscription.
object
check(
string $owner,
string $repo)
Check if you are watching a repository (LEGACY).
Requires for the user to be authenticated.