B0_github
GitHub interaction.
module Auth : sig ... end
Authentication.
The type for GitHub V3 request bodies. Either JSON or something else tagged with its content type or nothing.
val req_json_v3 :
?headers:B0_http.Http.headers ->
B0_http.Http_client.t ->
Auth.t ->
path:string ->
B0_http.Http.method' ->
v3_body ->
(B0_json.Json.t, string) Stdlib.result
req_json_v3 auth path m ~headers body
performs the request for json on path
using method m
, additional headers headers
, body body
and authentication auth
.
val query_v4 :
B0_http.Http_client.t ->
Auth.t ->
string ->
(B0_json.Json.t, string) Stdlib.result
query_v4 auth q
performs the the GitHub GraphQL V4 query q
using authentication auth
.
module Repo : sig ... end
GitHub repositories.
module Issue : sig ... end
Repository issues.
module Release : sig ... end
Repository releases.
module Pages : sig ... end
Publish to GitHub pages.
module Pull_request : sig ... end
Pull requests