package github-jsoo
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=2e8ea3e84c3a72fbe80ea27f400228f8f3eb82be398b07f8a189a77f39648461
sha512=71e97efa2bb2ddad4f5fa5fb2234c017338dc19f34ba849bc8787fd7eb010560a219b85f6ac017539f31ca7d785d5936c84892ead929c7ac29202dd8d3791d0d
doc/github-jsoo/Github/Gist/index.html
Module Github.Gist
The Gist module provides access to the GitHub gist API.
val for_user :
?token:Token.t ->
?since:string ->
user:string ->
unit ->
Github_t.gist Stream.tfor_user ?since ~user () is a stream of gists that belong to user. If ?since is an ISO 8601 timestamp, only gists updated since this time are returned.
all ?since () is a stream of all of the gists for the current token's user or all public gists if invoked without a current token. If ?since is an ISO 8601 timestamp, only gists updated since this time are returned.
all_public ?since () is a stream of all of the public gists for the current token's user or all public gists if invoked without a current token. If ?since is an ISO 8601 timestamp, only gists updated since this time are returned.
starred ?since () is a stream of all starred gists for the current token's user. If ?since is an ISO 8601 timestamp, only gists updated since this time are returned.
get ~id () is the gist id.
val create :
?token:Token.t ->
gist:Github_t.new_gist ->
unit ->
Github_t.gist Response.t Monad.tcreate ~gist () is a newly created gist described by gist.
val update :
?token:Token.t ->
id:string ->
gist:Github_t.update_gist ->
unit ->
Github_t.gist Response.t Monad.tupdate ~id ~gist () is the updated gist id as described by gist.
commits ~id () is a stream of commits for gist id.
star ~id () activates after gist id is marked as starred by the current token's user.
unstar ~id () activates after gist id is marked as not starred by the current token's user.
fork ~id () is a newly forked gist from gist id.
forks ~id () is a stream of forks of gist id.
delete ~id () activates after gist id has been deleted.