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

Safe HaskellNone
LanguageHaskell2010

GitHub.Endpoints.Repos.Releases

Synopsis

Documentation

releases :: Name Owner -> Name Repo -> IO (Either Error (Vector Release)) Source #

All releases for the given repo.

releases "calleerlandsson" "pick"

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

All releases for the given repo with authentication.

releases' (Just (User (user, password))) "calleerlandsson" "pick"

release :: Name Owner -> Name Repo -> Id Release -> IO (Either Error Release) Source #

Query a single release.

release "calleerlandsson" "pick"

release' :: Maybe Auth -> Name Owner -> Name Repo -> Id Release -> IO (Either Error Release) Source #

Query a single release with authentication.

release' (Just (User (user, password))) "calleerlandsson" "pick"

latestRelease :: Name Owner -> Name Repo -> IO (Either Error Release) Source #

Query latest release.

latestRelease "calleerlandsson" "pick"

latestRelease' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error Release) Source #

Query latest release with authentication.

latestRelease' (Just (User (user, password))) "calleerlandsson" "pick"

releaseByTagName :: Name Owner -> Name Repo -> Text -> IO (Either Error Release) Source #

Query release by tag name.

releaseByTagName "calleerlandsson" "pick"

releaseByTagName' :: Maybe Auth -> Name Owner -> Name Repo -> Text -> IO (Either Error Release) Source #

Query release by tag name with authentication.

releaseByTagName' (Just (User (user, password))) "calleerlandsson" "pick"