Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The gists API as described at http://developer.github.com/v3/gists/.
Synopsis
- gistsR :: Name Owner -> FetchCount -> Request k (Vector Gist)
- gistR :: Name Gist -> Request k Gist
- createGistR :: NewGist -> Request 'RW Gist
- starGistR :: Name Gist -> GenRequest 'MtUnit 'RW ()
- unstarGistR :: Name Gist -> GenRequest 'MtUnit 'RW ()
- deleteGistR :: Name Gist -> GenRequest 'MtUnit 'RW ()
- module GitHub.Data
Documentation
gistsR :: Name Owner -> FetchCount -> Request k (Vector Gist) Source #
List gists. See https://developer.github.com/v3/gists/#list-gists
gistR :: Name Gist -> Request k Gist Source #
Query a single gist. See https://developer.github.com/v3/gists/#get-a-single-gist
createGistR :: NewGist -> Request 'RW Gist Source #
Create a new gist See https://docs.github.com/rest/reference/gists#create-a-gist
starGistR :: Name Gist -> GenRequest 'MtUnit 'RW () Source #
Star a gist by the authenticated user. See https://developer.github.com/v3/gists/#star-a-gist
unstarGistR :: Name Gist -> GenRequest 'MtUnit 'RW () Source #
Unstar a gist by the authenticated user. See https://developer.github.com/v3/gists/#unstar-a-gist
deleteGistR :: Name Gist -> GenRequest 'MtUnit 'RW () Source #
Delete a gist by the authenticated user. See https://developer.github.com/v3/gists/#delete-a-gist
module GitHub.Data