Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
ReposAPI | |
|
Instances
Generic (ReposAPI auth f) Source # | |
type Rep (ReposAPI auth f) Source # | |
Defined in Hercules.API.Repos type Rep (ReposAPI auth f) = D1 ('MetaData "ReposAPI" "Hercules.API.Repos" "hercules-ci-api-0.8.0.0-inplace" 'False) (C1 ('MetaCons "ReposAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "reposByOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- (Summary "Repositories that the account owns or has explicit access to." :> ("accounts" :> (Capture' '[Required, Strict] "accountId" (Id Account) :> ("repos" :> (auth :> Get '[JSON] [Repo]))))))) :*: S1 ('MetaSel ('Just "parseGitURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- (Summary "Parse a git remote URL into site, owner and repo. Returns 400 if invalid, 404 if the site can not be determined. Does provide any guarantee that the repository exists." :> ("parse-git-url" :> (QueryParam' '[Required, Strict] "gitURL" Text :> (auth :> Get '[JSON] RepoKey)))))))) |