package github

  1. Overview
  2. Docs
GitHub APIv3 OCaml library

Install

Dune Dependency

Authors

Maintainers

Sources

github-unix-4.3.2.tbz
sha256=b6304dce6ec33503e225ade600af194e1fc3976624ea83f546c7ab27ec8cfeb7
sha512=754f0a2bce5a2cb3b2355530708e3dab1d8a32401fa2a300b5eba37bf37e63d75d21d42595e7cd60b9a20beba054dd3b45675d51201a4aa8812ce5db400ab758

doc/github/Github_core/Make/Deploy_key/index.html

Module Make.Deploy_keySource

The Deploy_key module provides the means to manage per-repository deploy keys.

Sourceval for_repo : ?token:Token.t -> user:string -> repo:string -> unit -> Github_t.deploy_key Stream.t

for_repo ~user ~repo () is a stream of deploy keys associated with repo user/repo.

Sourceval get : ?token:Token.t -> user:string -> repo:string -> id:int64 -> unit -> Github_t.deploy_key Response.t Monad.t

get ~user ~repo ~id () is deploy key id for repo user/repo.

Sourceval create : ?token:Token.t -> user:string -> repo:string -> new_key:Github_t.new_deploy_key -> unit -> Github_t.deploy_key Response.t Monad.t

create ~user ~repo ~new_key () is the newly created deploy key new_key for repo user/repo.

Sourceval delete : ?token:Token.t -> user:string -> repo:string -> id:int64 -> unit -> unit Response.t Monad.t

delete ~user ~repo ~id () activates after deploy key id in repo user/repo has been deleted.

OCaml

Innovation. Community. Security.