Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- releases :: Name Owner -> Name Repo -> IO (Either Error (Vector Release))
- releases' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector Release))
- releasesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Release)
- release :: Name Owner -> Name Repo -> Id Release -> IO (Either Error Release)
- release' :: Maybe Auth -> Name Owner -> Name Repo -> Id Release -> IO (Either Error Release)
- releaseR :: Name Owner -> Name Repo -> Id Release -> Request k Release
- latestRelease :: Name Owner -> Name Repo -> IO (Either Error Release)
- latestRelease' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error Release)
- latestReleaseR :: Name Owner -> Name Repo -> Request k Release
- releaseByTagName :: Name Owner -> Name Repo -> Text -> IO (Either Error Release)
- releaseByTagName' :: Maybe Auth -> Name Owner -> Name Repo -> Text -> IO (Either Error Release)
- releaseByTagNameR :: Name Owner -> Name Repo -> Text -> Request k Release
- module GitHub.Data
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 $ BasicAuth "github-username" "github-password") "calleerlandsson" "pick"
releasesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Release) Source #
List releases for a repository. See https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository
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 $ BasicAuth "github-username" "github-password") "calleerlandsson" "pick"
releaseR :: Name Owner -> Name Repo -> Id Release -> Request k Release Source #
Get a single release. See https://developer.github.com/v3/repos/releases/#get-a-single-release
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 $ BasicAuth "github-username" "github-password") "calleerlandsson" "pick"
latestReleaseR :: Name Owner -> Name Repo -> Request k Release Source #
Get the latest release. See https://developer.github.com/v3/repos/releases/#get-the-latest-release
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 $ BasicAuth "github-username" "github-password") "calleerlandsson" "pick"
releaseByTagNameR :: Name Owner -> Name Repo -> Text -> Request k Release Source #
Get a release by tag name See https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name
module GitHub.Data