Safe Haskell | None |
---|---|
Language | Haskell2010 |
GitHub.Endpoints.GitData.References
Description
The underlying git references on a Github repo, exposed for the world to see. The git internals documentation will also prove handy for understanding these. API documentation at http://developer.github.com/v3/git/refs/.
Synopsis
- referenceR :: forall (k :: RW). Name Owner -> Name Repo -> Name GitReference -> Request k GitReference
- referencesR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> Request k (Vector GitReference)
- createReferenceR :: Name Owner -> Name Repo -> NewGitReference -> Request 'RW GitReference
- deleteReferenceR :: Name Owner -> Name Repo -> Name GitReference -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
- namespacedReferencesR :: forall (k :: RW). Name Owner -> Name Repo -> Text -> Request k [GitReference]
- module GitHub.Data
Documentation
referenceR :: forall (k :: RW). Name Owner -> Name Repo -> Name GitReference -> Request k GitReference Source #
A single reference -- | Query a reference. See https://developer.github.com/v3/git/refs/#get-a-reference
referencesR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> Request k (Vector GitReference) Source #
Query all References. See https://developer.github.com/v3/git/refs/#get-all-references
createReferenceR :: Name Owner -> Name Repo -> NewGitReference -> Request 'RW GitReference Source #
deleteReferenceR :: Name Owner -> Name Repo -> Name GitReference -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
namespacedReferencesR :: forall (k :: RW). Name Owner -> Name Repo -> Text -> Request k [GitReference] Source #
Query namespaced references. See https://developer.github.com/v3/git/refs/#get-all-references
module GitHub.Data