github-0.22: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Endpoints.Activity.Starring

Description

The repo starring API as described on https://developer.github.com/v3/activity/starring/.

Synopsis

Documentation

stargazersFor :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser)) Source #

The list of users that have starred the specified Github repo.

userInfoFor' Nothing "mike-burns"

reposStarredBy :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Repo)) Source #

All the public repos starred by the specified user.

reposStarredBy Nothing "croaky"

myStarred :: Auth -> IO (Either Error (Vector Repo)) Source #

All the repos starred by the authenticated user.

myStarredAcceptStar :: Auth -> IO (Either Error (Vector RepoStarred)) Source #

All the repos starred by the authenticated user.

starRepo :: Auth -> Name Owner -> Name Repo -> IO (Either Error ()) Source #

Star a repo by the authenticated user.

unstarRepo :: Auth -> Name Owner -> Name Repo -> IO (Either Error ()) Source #

Unstar a repo by the authenticated user.